初學CSS+DIV(1)

來源:互聯網
上載者:User

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta name="author" content="865171" />
<!--<meta name="description" content="Xhtml/Css templates" />-->
<link rel="stylesheet" type="text/css" href="style.css" title="Winter paradise" media="screen" />
<title>Blog</title>
</head>

<body>

<div id="container">

<div id="header">
<h1>Blog</h1>
<h2>Mountain hotels and stuff</h2>
</div>

<div id="navcontainer">
<ul id="navlist">
<li id="active"><a href="#">首頁</a></li>
<li><a href="#">文章管理</a></li>
<li><a href="#">博友</a></li>
<li><a href="#">相簿</a></li>
<li><a href="#">留言</a></li>
<li><a href="#">About me</a></li>
</ul>

<div id="footer">
 <p><a style="float:right"><strong>著作權歸所者:lutongbin   聯絡電話:110119120    QQ:168168168</strong> </a></p>
</div>

</div>

</div>
</body>
</html>

 

效果:

 

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.