2011年9月26日 星期一

HTML5 亂七八糟筆記


HTML5 筆記

來源: http://www.w3schools.com/html5/html5_new_elements.asp

New Markup Elements


TagDescription
<article>Specifies independent, self-contained content, could be a news-article, blog post, forum post, or other articles which can be distributed independently from the rest of the site.
文章 微博 什麼 獨立分開?
<aside>For content aside from the content it is placed in. The aside content should be related to the surrounding content
預留 空間 可以放置一些東西?
<command>A button, or a radiobutton, or a checkbox
按鈕之類的     目前只有IE支援   chrome還沒支援
<details>For describing details about a document, or parts of a document
放置文件的 詳細資料  有點像 樹狀結構
<summary>A caption, or summary, inside the details element
<details>的標題
<figure>For grouping a section of stand-alone content, could be a video
放圖片 和圖片資訊的 空間
<figcaption>The caption of the figure section
<figure>的標題
<footer>For a footer of a document or section, could include the name of the author, the date of the document, contact information, or copyright information
放置 文章資訊      ex: 作者 日期資訊 聯絡資料 版權 等.....
<header>For an introduction of a document or section, could include navigation
標頭?
<hgroup>For a section of headings, using <h1> to <h6>, where the largest is the main heading of the section, and the others are sub-headings
標頭?
<mark>For text that should be highlighted
文章的重點部份  (像銀光筆一樣 標記重點)
<meter>For a measurement, used only if the maximum and minimum values are known
進度條!!!     目前只有chrome和 opera支援
<nav>For a section of navigation
放一些 連結用的?
<progress>The state of a work in progress
進度條  (((firefox chrome opera支援
<ruby>For ruby annotation (Chinese notes or characters)
顯示在文字上方  類似註解 或是放入國字的注音符號
<rt>For explanation of the ruby annotation
和<ruby>一樣吧
<rp>What to show browsers that do not support the ruby element
這 還沒搞懂.......
<section>For a section in a document. Such as chapters, headers, footers, or any other sections of the document
又是類似標頭的.....
<time>For defining a time or a date, or both
定義時間 或日期等等.....
<wbr>Word break. For defining a line-break opportunity.
一個單字 過長   可適當調整斷行 還是什麼的?

以上看起來 都是沒什麼作用呢.......是太多人想分這塊大餅嗎......

0 意見:

張貼留言

 

MangoHost Copyright © 2009 Cookiez is Designed by Ipietoon for Free Blogger Template