实用软件资讯

HTML5标准最新技术预览

  1. ﹤nav﹥  
  2.   ﹤ul﹥  
  3.     ﹤li﹥﹤a href="/"﹥Home﹤/a﹥﹤/li﹥  
  4.     ﹤li﹥﹤a href="/products"﹥Products﹤/a﹥﹤/li﹥  
  5.     ﹤li﹥﹤a href="/services"﹥Services﹤/a﹥﹤/li﹥  
  6.     ﹤li﹥﹤a href="/about"﹥About﹤/a﹥﹤/li﹥  
  7.   ﹤/ul﹥  
  8. ﹤/nav﹥ 

元素aside是为了关联周边参考内容,一般用作侧边栏。

  1. ﹤aside﹥  
  2.   ﹤h1﹥Archives﹤/h1﹥  
  3.   ﹤ul﹥  
  4.     ﹤li﹥﹤a href="/2007/09/"﹥September 2007﹤/a﹥﹤/li﹥  
  5.     ﹤li﹥﹤a href="/2007/08/"﹥August 2007﹤/a﹥﹤/li﹥  
  6.     ﹤li﹥﹤a href="/2007/07/"﹥July 2007﹤/a﹥﹤/li﹥  
  7.   ﹤/ul﹥  
  8. ﹤/aside﹥ 

元素section表示文章或应用程序的通用部分,如一个章节,例:

  1. ﹤section﹥  
  2.   ﹤h1﹥Chapter 1: The Period﹤/h1﹥  
  3.   ﹤p﹥It was the best of times, it was the worst of times,  
  4.      it was the age of wisdom, it was the age of foolishness,  
  5.      it was the epoch of belief, it was the epoch of incredulity,  
  6.      it was the season of Light, it was the season of Darkness,  
  7.      ...﹤/p﹥  
  8. ﹤/section﹥ 

元素article表示文档,页面或站点的独立部分。它适用于像新闻,博客文章,论坛帖子或个人意见等内容。

  1. ﹤article id="comment-2"﹥  
  2.   ﹤header﹥  
  3.     ﹤h4﹥﹤a href="#comment-2" rel="bookmark"﹥Comment #2﹤/a﹥  
  4.         by ﹤a href="http://example.com/"﹥Jack O'Niell﹤/a﹥﹤/h4﹥  
  5.     ﹤p﹥﹤time datetime="2007-08-29T13:58Z"﹥August 29th, 2007 at 13:58﹤/time﹥  
  6.   ﹤/header﹥  
  7.   ﹤p﹥That's another great article!﹤/p﹥  
  8. ﹤/article﹥ 
正在生成海报, 请稍候
HTML5标准最新技术预览
2010-05-03
经存在近十年的HTML4已经成为不断发展的Web开发领域的瓶颈;HTML5标准在此时显得尤为重要。每天都有新颖而创新的网站出现,全方位地拓展HTML的边界。Web开发者正在寻
长按识别二维码
Techsir.com
希望看到您的想法,请您发表评论x