忙了一晚上,终于把blog模板转过来html5,并顺利通过验证,嘻嘻。
除了进行了html5标签的转换外,还把原来的googleAD都撤掉,进行了一点点的小优化。。虽然不是很好,先放一下等html5正式出来了再更新。
先看一下换了之后的结构图
。。除了外面的两个为了两张背景大图片和宽度弄的div外,其它的div标签基本撤掉。
难道是心里作用吗,换完之后感觉好像变快了许多,哈哈,应该是缓存的关系。
愿意的话你也快点试试,下面是基本的html5页面代码:
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>website title</title>
</head>
<body>
<header>
<h1>website title</h1>
</header>
<section>
<article>
<h2>sub title</h2>
<p>some paragraph could go here</p>
</article>
</section>
<aside>
<p>some sidebar content</p>
</aside>
<footer>
<p>footer here</p>
</footer>
</body>
</html>

any updates coming ?
好像不是所有浏览器都支持html5的吧?你怎么?
你的浏览器不支持吗? 看我的blog出问题了?