|
<!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" lang="zh-CN">
<head>
<title>新建网页</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="description" content="" />
<meta name="keywords" content="" />
<style type="text/css">
#header {
width:50px;
height:20px;
background:black;
}
#main {
width:50px;
height:20px;
background:blue;
}
</style>
</head>
<body>
<div id="header">head</div>
<div id="main">main</div>
</body>
</html>
代码如上 |
|