XHTML 1.0 参考

2020-04-17 07:55:03易采站长站整理

按功能排列

NN: 表明哪个早期Netscape版本支持这个标签

IE: 表明哪个早期Internet Explorer版本支持这个标签

DTD: 表明符合XHTML 1.0 DTD 何级别的定义 . S=Strict(严格), T=Transitional(过渡), and F=Frameset(框架)

开始标签用途(Purpose)NNIEDTD

基本标签

<!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)