天天看點

XHTML 1.0 Tags 參考

< DOCTYPE html PUBLIC -WCDTD XHTML StrictEN httpwwwworgTRxhtmlDTDxhtml-strictdtd>

NN: 表明哪個早期Netscape版本支援這個标簽  

IE: 表明哪個早期Internet Explorer版本支援這個标簽  

DTD: 表明符合XHTML 1.0 DTD 何級别的定義。 S=Strict(嚴格), T=Transitional(過渡), and F=Frameset(架構)  

開始标簽 用途(Purpose) NN IE DTD           基本标簽         <!DOCTYPE> 文檔類型(Defines the document type)     STF <html> html文檔(Defines a html document) 3.0 3.0 STF <body> body元素(Defines the body element) 3.0 3.0 STF <h1> to <h6> 标題1 -- 标題6(Defines header 1 to header 6) 3.0 3.0 STF <p> 段落(Defines a paragraph) 3.0 3.0 STF <br /> 換行(Inserts a single line break) 3.0 3.0 STF <hr /> 水準線(Defines a horizontal rule) 3.0 3.0 STF <!--...--> 注釋(Defines a comment) 3.0 3.0 STFChar Format         <b> 粗體文本(Defines bold text) 3.0 3.0 STF <font> 文字的外觀,大小和顔色(Defines the font face, size, and color of text) 3.0 3.0 TF <i> 文本為斜體(Defines italic text) 3.0 3.0 STF <em> 文本為重要(Defines emphasized text) 3.0 3.0 STF <big> 文本增大(Defines big text) 3.0 3.0 STF <strong> 文本為非常重要(Defines strong text) 3.0 3.0 STF <small> 文本縮小(Defines small text) 3.0 3.0 STF <sup> 文本上标(Defines superscripted text) 3.0 3.0 STF <sub> 文本下标(Defines subscripted text) 3.0 3.0 STF <bdo> 文本輸出順序(Defines the direction of text display) 6.2 5.0 STF <u> 文本下劃線(Defines underlined text) 3.0 3.0 TF 輸出         <pre> 預先格式(保留檔案中空格的大小)(Defines preformatted text) 3.0 3.0 STF <code> 碼(顯示源碼用)(Defines computer code text) 3.0 3.0 STF <tt> 列印機字型(Defines teletype text) 3.0 3.0 STF <kbd> 鍵盤(Defines keyboard text) 3.0 3.0 STF <dfn> 定義(Defines a definition term)   3.0 STF <var> 變數(Defines a variable) 3.0 3.0 STF <samp> 樣本(Defines sample computer code) 3.0 3.0 STF <xmp> 不贊成使用,使用<pre>代替(Deprecated. Defines preformatted text. Use <pre> instead) 3.0 3.0   結構性定義         <acronym> 隻取首字母的縮寫詞(Defines an acronym) 6.2 4.0 STF <abbr> 縮寫(Defines an abbreviation) 6.2 ? STF <address> 位址(Defines an address element) 4.0 4.0 STF <blockquote> 引文區塊(Defines an long quotation) 3.0 3.0 STF <center> 句中對齊(Defines centered text) 3.0 3.0 TF <q> 引用短語(Defines a short quotation) 6.2 4.0 STF <cite> 引文(Defines a citation) 3.0 3.0 STF <ins> 插入(Defines inserted text) 6.2 4.0 STF <del> 删除(Defines deleted text) 6.2 4.0 STF <s> 删除線(Defines strikethrough text) 3.0 3.0 TF <strike> 删除線(Defines strikethrough text) 3.0 3.0 TF 連結         <a> 連結(Defines an anchor) 3.0 3.0 STF <link> 資源參考(Defines a resource reference)  4.0 3.0 STF 架構         <frame> 定義個别視框(Defines a sub window (a frame)) 3.0 3.0 F <frameset> 視框格式總定義(Defines a set of frames) 3.0 3.0 F <noframes> 無視框時的内容(Defines a noframe section) 3.0 3.0 TF <iframe> 定義嵌入視圖(Defines an inline sub window (frame)) 6.0 4.0 TF 輸入         <form> 定義表單(Defines a form) 3.0 3.0 STF <input /> 定義輸入域(Defines an input field) 3.0 3.0 STF <textarea> 輸入區換行方式(Defines a text area) 3.0 3.0 STF <button> 按鈕(Defines a push button) 6.2 4.0 STF <select> 下拉式選單(Defines a selectable list) 3.0 3.0 STF <optgroup> 選項組(Defines an option group) 6.0 6.0 STF <option> 清單選項(Defines an item in a list box) 3.0 3.0 STF <label>

标簽(用于表單控制?)(Defines a label for a form control)

6.2 4.0 STF <fieldset> 域(Defines a fieldset) 6.2 4.0 STF <legend> 域标題(Defines a title in a fieldset) 6.2 4.0 STF <isindex> 不建議使用(可搜尋,使用input代替)(Deprecated. Defines a single-line input field. Use <input> instead) 3.0 3.0 TF 列舉         <ul> 無次序式列舉(Defines an unordered list) 3.0 3.0 STF <ol> 有次序式列舉(Defines an ordered list) 3.0 3.0 STF <li> 每條項目清單(Defines a list item) 3.0 3.0 STF <dir> 目錄式列舉(Defines a directory list) 3.0 3.0 TF <dl> 定義式列舉(Defines a definition list) 3.0 3.0 STF <dt> 定義項目(Defines a definition term) 3.0 3.0 STF <dd> 定義說明(Defines a definition description) 3.0 3.0 STF <menu> 菜單清單(Defines a menu list) 3.0 3.0 TF 圖檔         <img /> 圖檔(Defines an image) 3.0 3.0 STF <map> 圖檔地圖(Defines an image map) 3.0 3.0 STF <area /> 圖檔熱點(Defines an area inside an image map) 3.0 3.0 STF 表格         <table> 表格(Defines a table) 3.0 3.0 STF <caption> 表格擡頭(Defines a table caption) 3.0 3.0 STF <th> 表格标題(Defines a table header) 3.0 3.0 STF <tr> 行(Defines a table row) 3.0 3.0 STF <td> 單元格(列)(Defines a table cell) 3.0 3.0 STF <thead> 定義表格頭(Defines a table header)   4.0 STF <tbody> 定義表格主體(Defines a table body)   4.0 STF <tfoot> 定義表格腳(Defines a table footer)   4.0 STF <col> 定義特有特征(Defines attributes for table columns)   3.0 STF <colgroup> 定義特征集合(Defines groups of table columns)   3.0 STF 樣式         <style> 樣式定義(Defines a style definition) 4.0 3.0 STF <div> 在文檔中定義一個區域(Defines a section in a document) 3.0 3.0 STF <span> 在文檔中定義一個區域(Defines a section in a document) 4.0 3.0 STF 頭資訊         <head> 定語關于文檔的資訊(Defines information about the document) 3.0 3.0 STF <title> 定義文檔标題(Defines the document title) 3.0 3.0 STF <meta> 定義背景資訊(Defines meta information) 3.0 3.0 STF <base /> 基本文檔中所有連結的基準(Defines a base URL for all the links in a page) 3.0 3.0 STF <basefont /> 定義基本字型(Defines a base font) 3.0 3.0 TF 腳本、引用外部對象相關         <script> 定義腳本(Defines a script) 3.0 3.0 STF <noscript> 定義無腳本的顯示區域(Defines a noscript section) 3.0 3.0 STF <applet> 定義java程式(Defines an applet) 2.0 3.0 TF <object> 定義内嵌對象(Defines an embedded object) ? 3.0 STF <param> 定義對象的參數(Defines a parameter for an object) 3.0 3.0 STF

本文轉自 netcorner 部落格園部落格,原文連結:http://www.cnblogs.com/netcorner/archive/2007/02/14/2912427.html  ,如需轉載請自行聯系原作者