1. HTML基本結(jié)構(gòu)
XML/HTML Code復(fù)制內(nèi)容到剪貼板
<!DOCTYPEhtml>
<htmlxmlnshtmlxmlns="http://www.w3.org/1999/xhtml">
<headrunatheadrunat="server">
<title>layout</title>
</head>
<body>
<divclassdivclass="header">
<h1>head of your website.</h1>
</div>
<divclassdivclass="wrapper">
<divclassdivclass="content">
<h2>Your website content here.</h2>
<scripttypescripttype="text/javascript">
for(var i = 0; i<100;i++){
document.write(i + "<br />");
}
</script>
</div>
<divclassdivclass="clear"><!– 必不可少 –></div>
</div>
<divclassdivclass="footer">
<div><h1>
Copyright (c) 2012</h1></div>
</div>
</body>
</html>
2. CSS樣式
CSS Code復(fù)制內(nèi)容到剪貼板
<styletype="text/css">
|
新聞熱點(diǎn)
疑難解答
圖片精選