### HTML5速查表
<table class="wikitable" width="33%"><tbody><tr class="_th"><th width="15%">標簽</th> <th width="30%">描述</th> <th width="15%">版本</th> <th width="40%">屬性</th> </tr><tr><th><!--...--></th> <td>定義注釋</td> <td align="center">4 / 5</td> <td>none</td> </tr><tr><th><!DOCTYPE></th> <td> 定義文檔類型 </td> <td align="center">4 / 5</td> <td>none</td> </tr><tr><th><a></th> <td> 定義超鏈接,用于從一個頁面鏈接到另一個頁面。 </td> <td align="center">4 / 5</td> <td>href | hreflang | media | ping | rel | target | type</td> </tr><tr><th><abbr></th> <td> 定義縮寫 </td> <td align="center">4 / 5</td> <td>全局屬性</td> </tr><tr class="gray"><th><acronym></th> <td>定義首字母縮寫</td> <td align="center">4</td> <td>-</td> </tr><tr><th><address></th> <td> 定義文檔作者或擁有者的聯系信息 .</td> <td align="center">4 / 5</td> <td>全局屬性</td> </tr><tr class="gray"><th><applet></th> <td>?定義嵌入的 applet </td> <td align="center">4</td> <td>-</td> </tr><tr><th><area></th> <td> 定義圖像映射內部的區域(圖像映射指的是帶有可點擊區域的圖像)。 </td> <td align="center">4 / 5</td> <td>alt | coords | href | hreflang | media | ping | rel | shape | target | type</td> </tr><tr><th><article></th> <td> 定義獨立的內容 </td> <td align="center">5</td> <td>全局屬性</td> </tr><tr><th><aside></th> <td> 定義頁面內容之外的內容 </td> <td align="center">5</td> <td>全局屬性</td> </tr><tr><th><audio></th> <td> 定義聲音,比如音樂或其他音頻流。 </td> <td align="center">5</td> <td>autobuffer | autoplay | controls | loop | src</td> </tr><tr><th><b></th> <td> 定義粗體文本 , 用于強調某些文本 </td> <td align="center">4 / 5</td> <td>全局屬性</td> </tr><tr><th><base></th> <td> 定義頁面上的所有鏈接規定默認地址或默認目標 </td> <td align="center">4 / 5</td> <td>href | target</td> </tr><tr class="gray"><th><basefont></th> <td> 定義文檔中所有文本的默認顏色、大小和字體 </td> <td align="center">4</td> <td>-</td> </tr><tr><th><bb></th> <td> 定義文本的文本方向,使其脫離其周圍文本的方向設置。 </td> <td align="center">5</td> <td>type</td> </tr><tr><th><bdi></th> <td> 指的是 bidi 隔離, 允許您設置一段文本,使其脫離其父元素的文本方向設置 .</td> <td align="center">5</td> <td>dir</td> </tr><tr><th><bdo></th> <td> 定義文本顯示的方向。 </td> <td align="center">4 / 5</td> <td>dir</td> </tr><tr class="gray"><th><big></th> <td> 定義大號文本。 </td> <td align="center">4</td> <td>-</td> </tr><tr><th><blockquote></th> <td> 定義摘自另一個源的塊引用 。 </td> <td align="center">4 / 5</td> <td>cite</td> </tr><tr><th><body></th> <td> 定義文檔的主體 。 </td> <td align="center">5</td> <td>全局屬性</td> </tr><tr><th><br></th> <td> 插入換行符。 </td> <td align="center">4 / 5</td> <td>全局屬性</td> </tr><tr><th><button></th> <td> 定義按鈕。 </td> <td align="center">4 / 5</td> <td>autofocus | disabled | form | formaction | formenctype | formme-thod | formnovalidate | formtarget | name | type | value</td> </tr><tr><th><canvas></th> <td> 定義圖形,比如圖表和其他圖像 </td> <td align="center">5</td> <td>height | width<br /></td> </tr><tr><th><caption></th> <td> 定義表格標題。 </td> <td align="center">4 / 5</td> <td>全局屬性</td> </tr><tr class="gray"><th><center></th> <td> 定義居中的文本。 </td> <td align="center">4</td> <td>-</td> </tr><tr><th><cite></th> <td> 定義作品(比如書籍、歌曲、電影、電視節目、繪畫、雕塑等等)的標題。 </td> <td align="center">4 / 5</td> <td>全局屬性</td> </tr><tr><th><code></th> <td> 定義計算機代碼文本。 </td> <td align="center">4 / 5</td> <td>全局屬性</td> </tr><tr><th><col></th> <td> 定義為表格中的一個或多個列定義屬性值。 。 </td> <td align="center">4 / 5</td> <td>span</td> </tr><tr><th><colgroup></th> <td> 定義對表格中的列進行組合,以便對其進行格式化。 </td> <td align="center">4 / 5</td> <td>span<br /></td> </tr><tr><th><command></th> <td> 定義命令按鈕。 </td> <td align="center">5</td> <td>checked | default | disabled | hidden | icon | label | radiogroup | type</td> </tr><tr><th><datagrid></th> <td> 定義可選數據的列表。 datagrid 作為樹列表來顯示。 </td> <td align="center">5</td> <td>disabled | multipe</td> </tr><tr><th><datalist></th> <td>定義下拉列表。 請與 input 元素配合使用該元素,來定義 input 可能的值。 </td> <td align="center">5</td> <td>全局屬性</td> </tr><tr><th><dd></th> <td> 定義一個定義列表中對項目的描述 。</td> <td align="center">4 / 5</td> <td>全局屬性</td> </tr><tr><th><del></th> <td>定義刪除文本。</td> <td align="center">4 / 5</td> <td>cite | datetime</td> </tr><tr><th><details></th> <td> 定義描述文檔或文檔某個部分的細節。 </td> <td align="center"> 5</td> <td>open</td> </tr><tr><th><dialog></th> <td> 定義對話,比如交談 </td> <td align="center">5</td> <td>全局屬性</td> </tr><tr class="gray"><th><dir></th> <td> 定義目錄列表。 </td> <td align="center">4</td> <td>-</td> </tr><tr><th><div></th> <td> 定義文檔中的一個部分。 </td> <td align="center">4 / 5</td> <td>全局屬性</td> </tr><tr><th><dfn></th> <td> 定義一個定義項目。 </td> <td align="center">4 / 5</td> <td>title</td> </tr><tr><th><dl></th> <td> 定義一個定義列表 .</td> <td align="center">4 / 5</td> <td>全局屬性</td> </tr><tr><th><dt></th> <td> 定義一個定義列表中的一個項目。 </td> <td align="center">4 / 5</td> <td>全局屬性</td> </tr><tr><th><em></th> <td> 呈現為被強調的文本。 </td> <td align="center">4 / 5</td> <td>全局屬性</td> </tr><tr><th><embed></th> <td> 定義嵌入的內容,比如插件 </td> <td align="center">5</td> <td>height | src | type | width</td> </tr><tr><th><fieldset></th> <td>定義用于從邏輯上將表單中的元素組合起來。 </td> <td align="center">4 / 5</td> <td>disabled | form | name</td> </tr></tbody></table>
| 標簽 | 描述 | 版本 | 屬性 |
|-----|-----|-----|-----|
| <figcaption> | 定義 fiqure 元素的標題(caption)。 | 5 | 全局屬性 |
| <figure> | 規定獨立的流內容(圖像、圖表、照片、代碼等等)。 | 5 | 全局屬性 |
| <font> | 規定文本的字體、大小和顏色。 | 4 | - |
| <footer> | 定義 section 或 document 的頁腳。 | 5 | 全局屬性 |
| <form> | 用于創建供用戶輸入的 HTML 表單 | 4 / 5 | action | date | replace | accept | accept-charset | enctype | method | target |
| <frame> | 定義子窗口(框架) | 4 | - |
| <frameset> | 定義框架集。 | 4 | - |
| <h1> to <h6> | 定義標題。<h1> 定義最大的標題。<h6> 定義最小的標題 | 4 / 5 | 全局屬性 |
| <heda> | 所有頭部元素的容器。位于 <head> 內部的元素可以包含腳本、指引瀏覽器找到樣式表、提供元信息,等等。 | 4 / 5 | 無 |
| <header> | 定義文檔的頁眉(介紹信息)。 | 5 | 全局屬性 |
| <hgroup> | 用于對網頁或區段(section)的標題進行組合。 | 4 / 5 | 全局屬性 |
| <hr> | 水平線,它應該定義內容中的主題變化 | 4 / 5 | 全局屬性 |
| <html> | 告知瀏覽器這是一個 HTML 文檔。 | 4 / 5 | manifest |
| <i> | 呈現斜體的文本。 | 4 / 5 | 全局屬性 |
| <iframe> | 創建包含另一個文檔的行內框架。 | 4 / 5 | src | name | sandbox | seamless | width | height |
| <img> | 定義 HTML 頁面中的圖像。 | 4 / 5 | alt | src | height | ismap | usemap | width |
| <input> | 規定用戶可輸入數據的輸入字段。 | 4 / 5 | accept | alt | auto-complete | autofocus | checked | disabled | from | formaction | formenctype | formme-thod | formnovalidate | formtarget | height | list | max | maxiength | min | multipe | name | pattern | placeholder | readonly | required | size | src | step | type | value | width |
| <ins> | 定義文檔的其余部分之外的插入文本。 | 4 / 5 | cite | datetime |
| <isindex> | 定義單行的輸入域。 | 4 | - |
| <keygen> | 規定用于表單的密鑰對生成器字段。 | 5 | autofocus | challenge | disabled | form | keytype | name |
| <kbd> | 定義鍵盤文本。它表示文本是從鍵盤上鍵入的。它經常用在與計算機相關的文檔或手冊中。 | 4 / 5 | 全局屬性 |
| <label> | 為 input 元素定義標簽(label) | 4 / 5 | for | form |
| <legend> | 為以下元素定義標題(caption):<fieldset>、<figure>、<details>。 | 4 / 5 | 全局屬性 |
| <li> | 定義列表項,有序列表和無序列表中都使用 <li> 標簽。 | 4 / 5 | value |
| <link> | 定義文檔與外部資源之間的關系。 大多數時候都用來連接樣式表。 | 4 / 6 | href | rel | media | hreflang | type | sizes |
| <mark> | 定義帶有記號的文本。請在需要突出顯示文本時使用 <m> 標簽 | 5 | 全局屬性 |
| <map> | 定義客戶端圖像映射。圖像映射指的是帶有可點擊區域的圖像。 | 4 / 5 | label | type |
| <menu> | 定義菜單列表。當希望列出表單控件時使用該標簽。 | 5 | autosubmit | compact | label | type |
| <meta> | 可提供有關頁面的元信息(meta-information),比如針對搜索引擎和更新頻度的描述和關鍵詞。 | 5 | charset | content | http-equiv | name | scheme |
| <meter> | 定義度量衡。僅用于已知最大和最小值的度量。 | 5 | high | low | max | min | optimum | value |
| <nav> | 定義導航鏈接的部分。 | 5 | 全局屬性 |
| <noframes> | 向瀏覽器顯示無法處理框架的提示文本。 | 4 | - |
| <noscript> | 定義在腳本未被執行時的替代內容(文本)。 | 4 / 5 | 無 |
| 標簽 | 描述 | 版本 | 屬性 |
|-----|-----|-----|-----|
| <object> | 定義一個嵌入的對象。 | 4 / 5 | data | height | type | usemap | width | object |
| <ol> | 定義有序列表。 | 4 / 5 | compact | start | reversed |
| <optgroup> | 定義選項組。此元素允許您組合選項。當您使用一個長的選項列表時,對相關的選項進行組合會使處理更加容易。 | 4 / 5 | disabled | label |
| <option> | 定義下拉列表中的一個選項。 | 4 / 5 | disabled | label | selected | value |
| <output> | 定義不同類型的輸出,比如腳本的輸出。 | 5 | form | for | name |
| <p> | 定義段落 | 4 / 5 | 全局屬性 |
| <param> | 允許您為插入 XHTML 文檔的對象規定 run-time 設置,也就是說,此標簽可為包含它的 <object> 標簽提供參數。 | 4 / 5 | name | value | type | valuetype |
| <pre> | 定義預格式化文本。 | 4 / 5 | 全局屬性 |
| <progress> | 定義運行中的進度(進程)。 | 5 | max | value |
| <q> | 定義一個短的引用。 | 4 / 5 | cite |
| <ruby> | 定義 ruby 注釋。 | 5 | 全局屬性 |
| <rp> | 定義若瀏覽器不支持 ruby 元素顯示的內容。 | 5 | 全局屬性 |
| <rt> | 義 ruby 注釋的解釋。 | 5 | 全局屬性 |
| <s> | 定義加刪除線的文本 | 4 | - |
| <samp> | 定義樣本計算機代碼。 | 4 / 5 | 全局屬性 |
| <script> | 定義腳本。 | 4 / 5 | async | type | defer | src | charset |
| <section> | 定義文檔中的節(section、區段)。比如章節、頁眉、頁腳或文檔中的其他部分 | 5 | cite |
| <select> | 創建下拉列表 | 4 / 5 | autofocus | data | disabled | form | multiple | name |
| <small> | 將旁注 (side comments) 呈現為小型文本。 | 4 / 5 | 全局屬性 |
| <source> | 為媒介元素(比如 <video> 和 <audio>)定義媒介資源。 | 5 | media | src | type |
| <span> | 用于對文檔中的行內元素進行組合 | 4 / 5 | 全局屬性 |
| <strike> | 定義加刪除線的文本。 | 4 | - |
| <strong> | 定義重要的文本 . | 4 / 5 | 全局屬性 |
| <style> | 定義 HTML 文檔的樣式信息。 | 4 / 5 | media | type | scoped |
| <sub> | 定義下標文本 | 4 / 5 | 全局屬性 |
| <sup> | 定義上標文本。 | 4 / 5 | 全局屬性 |
| <summary> | 包含 details 元素的標題,"details" 元素用于描述有關文檔或文檔片段的詳細信息。 | 4 / 5 | 全局屬性 |
| <table> | 定義 HTML 表格 | 4 / 5 | 全局屬性 |
| <tbody> | 定義表格的主體。 | 4 / 5 | 全局屬性 |
| <td> | 定義表格單元 | 4 / 5 | colspan | rowspan | headers |
| <textarea> | 定義一個文本區域 (text-area) (一個多行的文本輸入區域)。 | 4 / 5 | autofocus | cols | disabled | form | name | feadonly | required | required | rows | maxlength | placeholder | wrap |
| <tfoot> | 定義表格的頁腳(腳注) | 4 / 5 | 全局屬性 |
| <th> | 定義 HTML 表格中的表頭單元格。 | 4 / 5 | colspan | rowspan | scope |
| <thead> | 定義表格的表頭。 | 4 / 5 | 全局屬性 |
| <time> | 定義公歷的時間(24 小時制)或日期,時間和時區偏移是可選的。 | 5 | datetime |
| <title> | 定義文檔的標題 | 4 | 無 |
| <tr> | 定義表格中的行。 | 4 / 5 | 全局屬性 |
| <track> | 為諸如 video 元素之類的媒介規定外部文本軌道。 | 5 | default | kind | label | src | srclang |
| <tt> | 定義打字機文本。 | 4 | - |
| <u> | 定義下劃線文本 。 | 4 | - |
| <ul> | 定義無序列表。 | 4 / 5 | 全局屬性 |
| <var> | 定義變量。 | 4 / 5 | 全局屬性 |
| <video> | 定義視頻,比如電影片段或其他視頻流。 | 5 | src | poster | autobuffer | autoplay | loop | controls | width | height |
| <xmp> | 定義預格式文本。 | 4 | - |
- 速查表
- 核心
- jQuery(selector,[context])
- jQuery(html,[ownerDocument])
- jQuery(callback)
- jQuery.holdReady(hold)
- each(callback)
- size()
- length
- selector
- context
- get([index])
- index([selector|element])
- data([key],[value])
- removeData([name|list])
- jQuery.data(element,[key],[value])
- queue(element,[queueName])
- dequeue([queueName])
- clearQueue([queueName])
- jQuery.noConflict([extreme])
- 選擇器
- #id
- element
- .class
- *
- selector1,selector2,selectorN
- ancestor descendant
- parent > child
- prev + next
- prev ~ siblings
- :first
- :last
- :not(selector)
- :even
- :odd
- :eq(index)
- :gt(index)
- :lt(index)
- :header
- :animated
- :focus
- :contains(text)
- :empty
- :has(selector)
- :parent
- :hidden
- :visible
- [attribute]
- [attribute=value]
- [attribute!=value]
- [attribute^=value]
- [attribute$=value]
- [attribute*=value]
- [selector1][selector2][selectorN]
- :nth-child
- :first-child
- :last-child
- :only-child
- :input
- :text
- :password
- :radio
- :checkbox
- :submit
- :image
- :reset
- :button
- :file
- :enabled
- :disabled
- :checked
- :selected
- 屬性
- attr(name|pro|key,val|fn)
- removeAttr(name)
- prop(name|pro|key,val|fn)
- removeProp(name)
- addClass(class|fn)
- removeClass([class|fn])
- toggleClass(class|fn[,sw])
- html([val|fn])
- text([val|fn])
- val([val|fn|arr])
- 篩選
- eq(index|-index)
- first()
- last()
- hasClass(class)
- filter(expr|obj|ele|fn)
- is(expr|obj|ele|fn)
- map(callback)
- has(expr|ele)
- not(expr|ele|fn)
- slice(start, [end])
- children([expr])
- closest(expr,[con]|obj|ele)
- find(expr|obj|ele)
- next([expr])
- nextAll([expr])
- nextUntil([exp|ele][,fil])
- parent([expr])
- parents([expr])
- parentsUntil([exp|ele][,fil])
- prev([expr])
- prevAll([expr])
- prevUntil([exp|ele][,fil])
- siblings([expr])
- add(expr|ele|html|obj[,con])
- andSelf()
- contents()
- end()
- 文檔處理
- append(content|fn)
- appendTo(content)
- prepend(content|fn)
- prependTo(content)
- after(content|fn)
- before(content|fn)
- insertAfter(content)
- insertBefore(content)
- wrap(html|ele|fn)
- unwrap()
- wrapAll(html|ele)
- wrapInner(html|ele|fn)
- replaceWith(content|fn)
- replaceAll(selector)
- empty()
- remove([expr])
- detach([expr])
- clone([Even[,deepEven]])
- CSS
- css(name|pro|[,val|fn])
- offset([coordinates])
- position()
- scrollTop([val])
- scrollLeft([val])
- height([val|fn])
- width([val|fn])
- innerHeight()
- innerWidth()
- outerHeight([options])
- outerWidth([options])
- 事件
- ready(fn)
- on(events,[selector],[data],fn)
- off(events,[selector],[fn])
- bind(type,[data],fn)
- one(type,[data],fn)
- trigger(type,[data])
- triggerHandler(type,[data])
- unbind(type,[data|fn])
- live(type,[data],fn)
- die(type,[fn])
- delegate(sel,[type],[data],fn)
- undelegate([sel,[type],fn])
- hover([over,]out)
- toggle(fn, fn2, [fn3, fn4, ...])
- blur([[data],fn])
- change([[data],fn])
- click([[data],fn])
- dblclick([[data],fn])
- error([[data],fn])
- focus([[data],fn])
- focusout([data],fn)
- keydown([[data],fn])
- keypress([[data],fn])
- keyup([[data],fn])
- mousedown([[data],fn])
- mouseenter([[data],fn])
- mouseleave([[data],fn])
- mousemove([[data],fn])
- mouseout([[data],fn])
- mouseover([[data],fn])
- mouseup([[data],fn])
- resize([[data],fn])
- scroll([[data],fn])
- select([[data],fn])
- submit([[data],fn])
- unload([[data],fn])
- 效果
- show([speed,[easing],[fn]])
- hide([speed,[easing],[fn]])
- slideDown([speed],[easing],[fn])
- slideUp([speed,[easing],[fn]])
- slideToggle([speed],[easing],[fn])
- fadeIn([speed],[easing],[fn])
- fadeOut([speed],[easing],[fn])
- fadeTo([[speed],opacity,[easing],[fn]])
- fadeToggle([speed,[easing],[fn]])
- animate(param,[spe],[e],[fn])
- stop([cle],[jum])
- delay(duration,[queueName])
- jQuery.fx.off
- jQuery.fx.interval
- Ajax
- jQuery.ajax(url,[settings])
- load(url,[data],[callback])
- jQuery.get(url,[data],[callback],[type])
- jQuery.getJSON(url,[data],[callback])
- jQuery.getScript(url,[callback])
- jQuery.post(url,[data],[callback],[type])
- ajaxComplete(callback)
- ajaxError(callback)
- ajaxSend(callback)
- ajaxStart(callback)
- ajaxStop(callback)
- ajaxSuccess(callback)
- jQuery.ajaxSetup([options])
- serialize()
- serializeArray()
- 工具
- jQuery.support
- jQuery.browser
- jQuery.browser.version
- jQuery.boxModel
- jQuery.each(object,[callback])
- jQuery.extend([deep],target,object1,[objectN])
- jQuery.grep(array,callback,[invert])
- jQuery.makeArray(obj)
- jQuery.map(array, callback)
- jQuery.inArray(val,arr,[from])
- jQuery.toArray()
- jQuery.sub()
- jQuery.when(deferreds)
- jQuery.merge(first,second)
- jQuery.unique(array)
- jQuery.parseJSON(json)
- jQuery.noop
- jQuery.proxy(function,context)
- jQuery.contains(container, contained)
- jQuery.isArray(obj)
- jQuery.isFunction(obj)
- jQuery.isEmptyObject(obj)
- jQuery.isPlainObject(obj)
- jQuery.isWindow(obj)
- jQuery.isNumeric(value)
- jQuery.type(obj)
- jQuery.trim(str)
- jQuery.param(obj,[traditional])
- jQuery.error(message)
- Deferred
- def.done(donCal,[donCal])
- def.fail(failCal)
- def.isRejected()
- def.isResolved()
- def.reject(args)
- def.rejectWith(context,[args])
- def.resolve(args)
- def.resolveWith(context,args)
- def.then(doneCal,failCal)
- def.progress([type],[target])
- def.pipe([donFil],[faiFil],[proFil])
- def.always(alwCal,[alwCal])
- def.notify(args)
- def.notifyWith(context,[args])
- def.state()
- Callbacks
- callbacks.add(callbacks)
- callbacks.disable()
- callbacks.empty()
- callbacks.fire(arguments)
- callbacks.fired()
- callbacks.fireWith([context][,args])
- callbacks.has(callback)
- callbacks.lock()
- callbacks.locked()
- callbacks.remove(callbacks)
- jQuery.callbacks(flags)
- 關于
- 關于jQuery API 文檔
- 提交bug及獲取更新
- 其它
- HTML5速查表
- 正則表達式速查表