更新html5-blog模板

2009.08.18 作者: 小V - 3 评论
文章分类: (x)Html/css, 微博客

忙了一晚上,终于把blog模板转过来html5,并顺利通过验证,嘻嘻。
除了进行了html5标签的转换外,还把原来的googleAD都撤掉,进行了一点点的小优化。。虽然不是很好,先放一下等html5正式出来了再更新。

先看一下换了之后的结构图

html5-blog

。。除了外面的两个为了两张背景大图片和宽度弄的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>

相关文章

  1. sipkawix says:

    any updates coming ?

  2. 华晨 says:

    好像不是所有浏览器都支持html5的吧?你怎么?