html01

来源:互联网 发布:java语言培训班哪个好 编辑:程序博客网 时间:2024/04/29 09:09

<!DOCTYPE html><html lang="en"><head>    <meta charset="UTF-8">    <meta name="viewport" content="width=device-width, initial-scale=1.0">    <meta http-equiv="X-UA-Compatible" content="ie=edge">    <title>Document</title>    <style>        a{            text-decoration: none;            color: black;        }    .top{        width: 1100px;         margin: 0 auto;    }  .nav-top {    height:35px;    width: 1100px;    background:lightgrey;    margin: 0 auto;    }.nav-top ul{    list-style:none;    margin: 0;    padding: 0;    }.nav-top li{    float:left;     width:150px;      line-height:35px;    }.nav-top a:link{    color:gray;     font-weight:bold;         }.nav-top a:visited{    color:gray;    color: none;     }.nav-top a:hover{    color:lightgrey;     font-weight:bold;     background:black;    }.nav-top a{    display:block;     text-align:center;     height:35px;    }.main{    overflow: hidden;    width: 1100px;        margin: 15px auto;}.nav-left{    float: left;    width: 20%;    border: solid lightgrey 1px;}.nav-left ul{    list-style: none;    padding: 0;    text-align: center;}.nav-left li{    }.nav-left a{    display: block;    /*width: 100%;*/    height: 30px;    line-height: 30px;    text-align: left;    padding-left: 10px;}.nav-left a:hover{    color:black;     background:lightgrey;}.nav-left a:link{    color:gray;     font-weight:bold;     }.nav-left a:visited{    color:gray;     }.title{    height: 30px;    background-color: lightgrey;    display: block;    line-height: 30px;    text-align: center;}.nav-left h2{    margin: 10px;    font-size: 16px;}.nav-right{    float: right;    width: 15%;    height: 100%;    border: solid lightgrey 1px;    }.nav-right ul{    list-style: none;    padding: 0;    margin: 10px;    text-align: center;    }.nav-right li{    margin: 5px;    height: 50px;    line-height: 50px;}.nav-right ul>:first-child{    background-color: plum;    }.nav-right li:nth-child(2){    background-color: lightgreen;   }.nav-right li:nth-child(3){    background-color: palevioletred;}.content{    margin: 10px;    float: left;    width: 60%;}.content a{    display: inline-block;    width: 80px;    height: 30px;    line-height: 30px;    background-color: lightgrey;    margin: 10px;    text-align: center;}.content h2{    font-size: 16px;    margin: 0;}.content div{    padding-left: 10px;    border-top: solid 1px #aaa;    margin-top: 5px;}#content-a{    color: red;    display: inline;    background-color: white;    text-decoration: underline;}.footer{    background-color:lightgrey;    height:30px;    width: 1100px;    margin: 0 auto;    text-align: center;}.footer p{    vertical-align: middle;    font-size: 10px;    line-height: 30px;    color: gray;}    </style></head><body> <!--The content below is only a placeholder and can be replaced.--><div class="top"><img src="w3c.png" alt=""></div><div class="nav-top">  <ul>    <li><a  href="http://www.baidu.com">HTML/CSS</a></li>    <li><a  href="http://www.google.com">JavaScript</a></li>    <li><a  href="http://www.bing.com">Server Side</a></li>    <li><a  href="http://www.jike.com">ASP.NET</a></li>    <li><a  href="http://www.soso.com">XML</a></li>    <li><a  href="http://www.youdao.com">Web Services</a></li>  </ul></div><div class="main">  <div class="nav-left">    <div class="title"> 课程表</div>    <h2>HTML基础教程</h2>    <ul>      <li><a  href="http://www.baidu.com">HTML简介</a></li>      <li><a  href="http://www.google.com">HTML编辑器</a></li>      <li><a  href="http://www.bing.com">HTML基础</a></li>      <li><a  href="http://www.jike.com">HTML元素</a></li>      <li><a  href="http://www.soso.com">HTML属性</a></li>      <li><a  href="http://www.youdao.com">HTML标题</a></li>    </ul>    <div class="title"> 课程表</div> <h2>HTML基础教程</h2>    <ul>      <li><a  href="http://www.baidu.com">HTML简介</a></li>      <li><a  href="http://www.google.com">HTML编辑器</a></li>      <li><a  href="http://www.bing.com">HTML基础</a></li>      <li><a  href="http://www.jike.com">HTML元素</a></li>      <li><a  href="http://www.soso.com">HTML属性</a></li>      <li><a  href="http://www.youdao.com">HTML标题</a></li>    </ul>  </div>  <div class="content">    <h2>HTML基础教程</h2>    <a href="">上一节</a><a href="">下一节</a>    <div class="block">        <h2>HTML 教程</h2>        <p>在本教程中,你将学习如何使用HTML来创建站点</p>        <p>HTML 很容易学习!你会喜欢它的!</p>        <a href="" id="content-a">现在开始学习HTML!</a>    </div>        <div class="block">        <h2>HTML 教程</h2>        <p>在本教程中,你将学习如何使用HTML来创建站点</p>        <p>HTML 很容易学习!你会喜欢它的!</p>        <a href="" id="content-a">现在开始学习HTML!</a>    </div>        <div class="block">        <h2>HTML 教程</h2>        <p>在本教程中,你将学习如何使用HTML来创建站点</p>        <p>HTML 很容易学习!你会喜欢它的!</p>        <a href="" id="content-a">现在开始学习HTML!</a>    </div>  </div>  <div class="nav-right">    <div class="title"> 工具箱</div>    <ul>      <li>参考书</li>      <li>实验室</li>      <li>小测验</li>    </ul>  </div></div><div class="footer">  <p>W3School 简体中文版提供的内容仅用于培训和测试,不保证内容的正确性。通过使用本站内容随之而来的风险与本站无关。</p></div></body></html>


阅读全文
'); })();
0 0
原创粉丝点击
热门IT博客
热门问题 老师的惩罚 人脸识别 我在镇武司摸鱼那些年 重生之率土为王 我在大康的咸鱼生活 盘龙之生命进化 天生仙种 凡人之先天五行 春回大明朝 姑娘不必设防,我是瞎子 火碱 烧碱 火碱多少钱一斤 烧碱火碱公司 火碱通下水道的方法 哪里能买到火碱 火碱那有卖的 火碱在生活中的用途 火碱烧碱 火碱多少钱一袋 什么是火碱 片碱厂家 片碱价格 火碱哪里有卖 食用火碱 火碱在哪买 火碱洗油烟机 火碱冲下水道 工业用火碱 工业用火碱价格 那里有卖火碱的 片碱的价格 火碱能通下水道吗 火碱哪有卖的 火碱通下水道 火碱清洗油烟机 工业火碱对人有害吗 火碱洗衣服 火碱的作用 火碱是什么东西 火碱有毒吗 火碱消毒 火碱怎么使用 火碱除水垢 做火碱 火碱能洗衣服吗 烧碱火碱苛性钠 火碱的用法 火碱的成分 火碱作用 烧碱 片碱 火碱用处