開始標簽 |
用途(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 |
STF |
Char 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 |