<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
</head>
<style>
#up{
background-color: green;
font-family:SimHei;
height:100px;
line-height:100px;
color:white;
font-size:50px;
text-indent:0.5em;
}
#down{
background-color: green;
font-family:SimHei;
height:100px;
line-height:100px;
color:white;
font-size:50px;
text-indent:0.5em;
}
span{
font-family:SimHei;
}
p{
font-size:30px;
text-indent:2em;
}
b{
font-style:italic;
}
li{
font-size:30px;
margin:10px;
text-indent:2.5em;
}
</style>
<body>
<div id="up">HTML5是如何起步的?</div>
<div>
<p>HTML5 是 W3C 与 WHATWG 合作的结果。</p>
<p><b>编者注:</b>W3C 指 World Wide Web Consortium,万维网联盟。</p>
<p><b>编者注:</b>WHATWG 指 Web Hypertext Application Technology Working Group。</p>
<p>WHATWG 致力于 web 表单和应用程序,而 W3C 专注于 XHTML 2.0
。在 2006 年,双方决定进行合作,来创建一个新版本的 HTML。</p>
</div>
<div id="down">为HTML5建立的一些规则:</div>
<div>
<ul>
<li>新特性应该基于 HTML、CSS、DOM 以及 JavaScript。</li>
<li>减少对外部插件的需求(比如 Flash)</li>
<li>更优秀的错误处理</li>
<li>更多取代脚本的标记</li>
<li>HTML5应该独立于设备</li>
<li>开发进程应对公众透明</li>
</ul>
</div>
</body>
</html>
html-css ————制作HTML5简介
最新推荐文章于 2024-09-10 17:45:18 发布