Home  >  Article  >  Web Front-end  >  Summary of DTD usage in html_HTML/Xhtml_Web page production

Summary of DTD usage in html_HTML/Xhtml_Web page production

WBOY
WBOYOriginal
2016-05-16 16:41:281335browse

DTD is a set of syntax rules for tags. It is part of the XML1.0 version specification, is the verification mechanism of html files, and is part of the composition of html files.

DTD: three document types: S (Strict), T (Transitional), F (Frameset).
Strict: Use this type if you need clean markup without clutter in the presentation layer. Please use with Cascading Style Sheets (CSS)
Transitional: The DTD can contain rendering attributes and elements that the W3C expects to be moved into the style sheet. Use
Frameset if your readers are using browsers that don't support Cascading Style Sheets (CSS) and you have to use HTML's rendering features: DTD should be used for documents with frames. Except that the frameset element replaces the body element, Frameset DTD is equivalent to Transitional DTD

html5 basically does not have the strict requirements of XHTML 1.0 Transitional, and simplifies many things and can be used directly

HTML5

————————————————————————————————
xhtml 1.1:

xhtml 1.1 plus mathml plus svg:

——————————————————————————————————
html 4.01 strict:

html 4.01 transitional:

html 4.01 frameset:

—————— ——————————————————————————
xhtml 1.0 strict:

xhtml 1.0 transitional:

xhtml 1.0 frameset:

—————————————— ——————————————————
html 3.2:

—— ——————————————————————————————
html 2 (the number 2 represents the version number):


Attached is a comparison of the old version tags with the DTD document:

Tags

Description

DTD

Define the document type.

STF

Define HTML document.

STF

Define the body of the document.

STF

to

Define HTML title.

STF

Define paragraph.

STF


Define simple line breaks.

STF


Define the horizontal line.

STF

Define annotation.

STF

Tags

Description

DTD

Define bold text.

STF

Deprecated. Define text font, size and color

TF

Define italic text.

STF

Define emphasis text.

STF

Define large text.

STF

Define emphasis text with a stronger tone.

STF

Define small text.

STF

Define superscript text.

STF

Define subscript text.

STF

Define the direction of the text.

STF

Deprecated. Defines underlined text.

TF

标签

描述

DTD

定义预格式文本

STF

定义计算机代码文本。

STF

定义打字机文本。

STF

定义键盘文本。

STF

定义文本的变量部分。

STF

定义定义项目。

STF

定义计算机代码样本。

STF

</span></p> </td> <td width="302"> <p align="left"><span style="FONT-SIZE: 12px">不赞成使用。定义预格式文本。</span></p> </td> <td width="260"></td> </tr> </tbody> </table> <strong>tag</strong> </td> <td width="302"> <p align="center"><strong>Description</strong> </p> </td> <td width="260"> <p align="center"><strong>DTD</strong> </p> </td> </tr> <tr> <td width="137"> <pre class="brush:php;toolbar:false"> </td> <td width="302"> Define preformatted text </td> <td width="260"> STF </td> </tr> <tr> <td width="137"> <code> </td> <td width="302"> Define computer code text. </td> <td width="260"> STF </td> </tr> <tr> <td width="137"> <tt> </td> <td width="302"> Define typewriter text. </td> <td width="260"> STF </td> </tr> <tr> <td width="137"> <kbd> </td> <td width="302"> Define keyboard text. </td> <td width="260"> STF </td> </tr> <tr> <td width="137"> <var> </td> <td width="302"> Define the variable part of the text. </td> <td width="260"> STF </td> </tr> <tr> <td width="137"> <dfn> </td> <td width="302"> Define definition items. </td> <td width="260"> STF </td> </tr> <tr> <td width="137"> <samp> </td> <td width="302"> Define computer code samples. </td> <td width="260"> STF </td> </tr> <tr> <td width="137"> <xmp> </td> <td width="302"> Deprecated. Define preformatted text. </td> <td width="260"> <p align="left"> </p> <table cellpadding="0" border="1"> <tbody> <tr> <td width="137"> <p align="center"><span style="FONT-SIZE: 12px"><strong> Tags</strong></span></p> </td> <td width="303"> <p align="center"><span style="FONT-SIZE: 12px"><strong>Description</strong></span></p> </td> <td width="261"> <p align="center"><span style="FONT-SIZE: 12px"><strong>DTD</strong></span></p> </td> </tr> <tr> <td width="137"> <p align="left"><span style="FONT-SIZE: 12px"><acronym></span></p> </td> <td width="303"> <p align="left"><span style="FONT-SIZE: 12px">Define an abbreviation with only the first letter. </span></p> </td> <td width="261"> <p align="left"><span style="FONT-SIZE: 12px">STF</span></p> </td> </tr> <tr> <td width="137"> <p align="left"><span style="FONT-SIZE: 12px"><abbr></span></p> </td> <td width="303"> <p align="left"><span style="FONT-SIZE: 12px">Define abbreviation. </span></p> </td> <td width="261"> <p align="left"><span style="FONT-SIZE: 12px">STF</span></p> </td> </tr> <tr> <td width="137"> <p align="left"><span style="FONT-SIZE: 12px"><address></span></p> </td> <td width="303"> <p align="left"><span style="FONT-SIZE: 12px">Define contact information for the author or owner of the document. </span></p> </td> <td width="261"> <p align="left"><span style="FONT-SIZE: 12px">STF</span></p> </td> </tr> <tr> <td width="137"> <p align="left"><span style="FONT-SIZE: 12px"><blockquote></span></p> </td> <td width="303"> <p align="left"><span style="FONT-SIZE: 12px">Define a block quote. </span></p> </td> <td width="261"> <p align="left"><span style="FONT-SIZE: 12px">STF</span></p> </td> </tr> <tr> <td width="137"> <p align="left"><span style="FONT-SIZE: 12px"><center></span></p> </td> <td width="303"> <p align="left"><span style="FONT-SIZE: 12px">Deprecated. Define centered text. </span></p> </td> <td width="261"> <p align="left"><span style="FONT-SIZE: 12px">TF</span></p> </td> </tr> <tr> <td width="137"> <p align="left"><span style="FONT-SIZE: 12px"><q></span></p> </td> <td width="303"> <p align="left"><span style="FONT-SIZE: 12px">Define short quotes. </span></p> </td> <td width="261"> <p align="left"><span style="FONT-SIZE: 12px">STF</span></p> </td> </tr> <tr> <td width="137"> <p align="left"><span style="FONT-SIZE: 12px"><cite></span></p> </td> <td width="303"> <p align="left"><span style="FONT-SIZE: 12px">Define citation. </span></p> </td> <td width="261"> <p align="left"><span style="FONT-SIZE: 12px">STF</span></p> </td> </tr> <tr> <td width="137"> <p align="left"><span style="FONT-SIZE: 12px"><ins></span></p> </td> <td width="303"> <p align="left"><span style="FONT-SIZE: 12px"> definition is inserted into the text. </span></p> </td> <td width="261"> <p align="left"><span style="FONT-SIZE: 12px">STF</span></p> </td> </tr> <tr> <td width="137"> <p align="left"><span style="FONT-SIZE: 12px"><del></span></p> </td> <td width="303"> <p align="left"><span style="FONT-SIZE: 12px">Define deleted text. </span></p> </td> <td width="261"> <p align="left"><span style="FONT-SIZE: 12px">STF</span></p> </td> </tr> <tr> <td width="137"> <p align="left"><span style="FONT-SIZE: 12px"><s></span></p> </td> <td width="303"> <p align="left"><span style="FONT-SIZE: 12px">Deprecated. Defines strikethrough text. </span></p> </td> <td width="261"> <p align="left"><span style="FONT-SIZE: 12px">TF</span></p> </td> </tr> <tr> <td width="137"> <p align="left"><span style="FONT-SIZE: 12px"><strike></span></p> </td> <td width="303"> <p align="left"><span style="FONT-SIZE: 12px">Deprecated. Defines strikethrough text. </span></p> </td> <td width="261"> <p align="left"><span style="FONT-SIZE: 12px">TF</span></p> </td> </tr> </tbody> </table> <p align="left"> </p> <table cellpadding="0" border="1"> <tbody> <tr> <td width="138"> <p align="center"></p> <table cellpadding="0" border="1"> <tbody> <tr> <td width="138"> <p align="center"><span style="FONT-SIZE: 12px"><strong>标签</strong></span></p> </td> <td width="303"> <p align="center"><span style="FONT-SIZE: 12px"><strong>描述</strong></span></p> </td> <td width="262"> <p align="center"><span style="FONT-SIZE: 12px"><strong>DTD</strong></span></p> </td> </tr> <tr> <td width="138"> <p align="left"><span style="FONT-SIZE: 12px"><a></span></p> </td> <td width="303"> <p align="left"><span style="FONT-SIZE: 12px">定义锚。</span></p> </td> <td width="262"> <p align="left"><span style="FONT-SIZE: 12px">STF</span></p> </td> </tr> <tr> <td width="138"> <p align="left"><span style="FONT-SIZE: 12px"><link></span></p> </td> <td width="303"> <p align="left"><span style="FONT-SIZE: 12px">定义文档与外部资源的关系。</span></p> </td> <td width="262"> <p align="left"><span style="FONT-SIZE: 12px">STF</span></p> </td> </tr> </tbody> </table> <strong>tag</strong><p align="left"></p> <table cellpadding="0" border="1"> <tbody> <tr> <td width="137"> <p align="center"><span style="FONT-SIZE: 12px"><strong>标签</strong></span></p> </td> <td width="307"> <p align="center"><span style="FONT-SIZE: 12px"><strong>描述</strong></span></p> </td> <td width="258"> <p align="center"><span style="FONT-SIZE: 12px"><strong>DTD</strong></span></p> </td> </tr> <tr> <td width="137"> <p align="left"><span style="FONT-SIZE: 12px"><frame></span></p> </td> <td width="307"> <p align="left"><span style="FONT-SIZE: 12px">定义框架集的窗口或框架。</span></p> </td> <td width="258"> <p align="left"><span style="FONT-SIZE: 12px">F</span></p> </td> </tr> <tr> <td width="137"> <p align="left"><span style="FONT-SIZE: 12px"><frameset></span></p> </td> <td width="307"> <p align="left"><span style="FONT-SIZE: 12px">定义框架集。</span></p> </td> <td width="258"> <p align="left"><span style="FONT-SIZE: 12px">F</span></p> </td> </tr> <tr> <td width="137"> <p align="left"><span style="FONT-SIZE: 12px"><noframes></span></p> </td> <td width="307"> <p align="left"><span style="FONT-SIZE: 12px">定义针对不支持框架的用户的替代内容。</span></p> </td> <td width="258"> <p align="left"><span style="FONT-SIZE: 12px">TF</span></p> </td> </tr> <tr> <td width="137"> <p align="left"><span style="FONT-SIZE: 12px"><iframe></span></p> </td> <td width="307"> <p align="left"><span style="FONT-SIZE: 12px">定义内联框架。</span></p> </td> <td width="258"> <p align="left"><span style="FONT-SIZE: 12px">TF</span></p> </td> </tr> </tbody> </table> <p align="center"><strong>Description</strong> </p> </td> <td width="262"> <p align="center"><strong>DTD</strong> </p> </td> </tr> <tr> <td width="138"> <a> Define anchor. </td> <td width="262"> STF </td> </tr> <tr> <td width="138"> <link> Define the relationship between the document and external resources. </td> <td width="262"> STF <table cellpadding="0" border="1"> <tbody> <tr> <td width="137"> <p align="center"><strong>tag</strong> </p> </td> <td width="307"> <p align="center"><strong>Description</strong> </p> </td> <td width="258"> <p align="center"><strong>DTD</strong> </p> </td> </tr> <tr> <td width="137"> <frame> </td> <td width="307"> The window or frame that defines the frameset. </td> <td width="258"> F </td> </tr> <tr> <td width="137"> <frameset> </td> <td width="307"> Define the frameset. </td> <td width="258"> F </td> </tr> <tr> <td width="137"> <noframes> </td> <td width="307"> Define alternative content for users who do not support frames. </td> <td width="258"> TF </td> </tr> <tr> <td width="137"> <iframe> </td> <td width="307"> Define an inline frame. </td> <td width="258"> TF <p align="left"> </p> <table cellpadding="0" border="1"> <tbody> <tr> <td width="137"> <p align="center"><span style="FONT-SIZE: 12px"><strong> Tags</strong></span></p> </td> <td width="307"> <p align="center"><span style="FONT-SIZE: 12px"><strong>Description</strong></span></p> </td> <td width="260"> <p align="center"><span style="FONT-SIZE: 12px"><strong>DTD</strong></span></p> </td> </tr> <tr> <td width="137"> <p align="left"><span style="FONT-SIZE: 12px"><form></span></p> </td> <td width="307"> <p align="left"><span style="FONT-SIZE: 12px">Define an HTML form for user input. </span></p> </td> <td width="260"> <p align="left"><span style="FONT-SIZE: 12px">STF</span></p> </td> </tr> <tr> <td width="137"> <p align="left"><span style="FONT-SIZE: 12px"><input></span></p> </td> <td width="307"> <p align="left"><span style="FONT-SIZE: 12px">Define input controls. </span></p> </td> <td width="260"> <p align="left"><span style="FONT-SIZE: 12px">STF</span></p> </td> </tr> <tr> <td width="137"> <p align="left"><span style="FONT-SIZE: 12px"><textarea></span></p> </td> <td width="307"> <p align="left"><span style="FONT-SIZE: 12px">Define a multi-line text input control. </span></p> </td> <td width="260"> <p align="left"><span style="FONT-SIZE: 12px">STF</span></p> </td> </tr> <tr> <td width="137"> <p align="left"><span style="FONT-SIZE: 12px"><button></span></p> </td> <td width="307"> <p align="left"><span style="FONT-SIZE: 12px">Define button. </span></p> </td> <td width="260"> <p align="left"><span style="FONT-SIZE: 12px">STF</span></p> </td> </tr> <tr> <td width="137"> <p align="left"><span style="FONT-SIZE: 12px"><select></span></p> </td> <td width="307"> <p align="left"><span style="FONT-SIZE: 12px">Define a selection list (drop-down list). </span></p> </td> <td width="260"> <p align="left"><span style="FONT-SIZE: 12px">STF</span></p> </td> </tr> <tr> <td width="137"> <p align="left"><span style="FONT-SIZE: 12px"><optgroup></span></p> </td> <td width="307"> <p align="left"><span style="FONT-SIZE: 12px">Define combinations of related options in a select list. </span></p> </td> <td width="260"> <p align="left"><span style="FONT-SIZE: 12px">STF</span></p> </td> </tr> <tr> <td width="137"> <p align="left"><span style="FONT-SIZE: 12px"><option></span></p> </td> <td width="307"> <p align="left"><span style="FONT-SIZE: 12px">Define the options in the select list. </span></p> </td> <td width="260"> <p align="left"><span style="FONT-SIZE: 12px">STF</span></p> </td> </tr> <tr> <td width="137"> <p align="left"><span style="FONT-SIZE: 12px"><label></span></p> </td> <td width="307"> <p align="left"><span style="FONT-SIZE: 12px">Define the annotation of the input element. </span></p> </td> <td width="260"> <p align="left"><span style="FONT-SIZE: 12px">STF</span></p> </td> </tr> <tr> <td width="137"> <p align="left"><span style="FONT-SIZE: 12px"><fieldset></span></p> </td> <td width="307"> <p align="left"><span style="FONT-SIZE: 12px">Define the border around elements in the form. </span></p> </td> <td width="260"> <p align="left"><span style="FONT-SIZE: 12px">STF</span></p> </td> </tr> <tr> <td width="137"> <p align="left"><span style="FONT-SIZE: 12px"><legend></span></p> </td> <td width="307"> <p align="left"><span style="FONT-SIZE: 12px">Define the title of the fieldset element. </span></p> </td> <td width="260"> <p align="left"><span style="FONT-SIZE: 12px">STF</span></p> </td> </tr> <tr> <td width="137"> <p align="left"><span style="FONT-SIZE: 12px"><isindex></span></p> </td> <td width="307"> <p align="left"><span style="FONT-SIZE: 12px">Deprecated. Defines a searchable index associated with the document. </span></p> </td> <td width="260"> <p align="left"><span style="FONT-SIZE: 12px">TF</span></p> </td> </tr> </tbody> </table> <p align="left"> </p> <table cellpadding="0" border="1"> <tbody> <table cellpadding="0" border="1"> <tbody> <tr> <td width="135"> <p align="center"><span style="FONT-SIZE: 12px"><strong>标签</strong></span></p> </td> <td width="307"> <p align="center"><span style="FONT-SIZE: 12px"><strong>描述</strong></span></p> </td> <td width="263"> <p align="center"><span style="FONT-SIZE: 12px"><strong>DTD</strong></span></p> </td> </tr> <tr> <td width="135"> <p align="left"><span style="FONT-SIZE: 12px"><ul></span></p> </td> <td width="307"> <p align="left"><span style="FONT-SIZE: 12px">定义无序列表。</span></p> </td> <td width="263"> <p align="left"><span style="FONT-SIZE: 12px">STF</span></p> </td> </tr> <tr> <td width="135"> <p align="left"><span style="FONT-SIZE: 12px"><ol></span></p> </td> <td width="307"> <p align="left"><span style="FONT-SIZE: 12px">定义有序列表。</span></p> </td> <td width="263"> <p align="left"><span style="FONT-SIZE: 12px">STF</span></p> </td> </tr> <tr> <td width="135"> <p align="left"><span style="FONT-SIZE: 12px"><li></span></p> </td> <td width="307"> <p align="left"><span style="FONT-SIZE: 12px">定义列表的项目。</span></p> </td> <td width="263"> <p align="left"><span style="FONT-SIZE: 12px">STF</span></p> </td> </tr> <tr> <td width="135"> <p align="left"><span style="FONT-SIZE: 12px"><dir></span></p> </td> <td width="307"> <p align="left"><span style="FONT-SIZE: 12px">不赞成使用。定义目录列表。</span></p> </td> <td width="263"> <p align="left"><span style="FONT-SIZE: 12px">TF</span></p> </td> </tr> <tr> <td width="135"> <p align="left"><span style="FONT-SIZE: 12px"><dl></span></p> </td> <td width="307"> <p align="left"><span style="FONT-SIZE: 12px">定义定义列表。</span></p> </td> <td width="263"> <p align="left"><span style="FONT-SIZE: 12px">STF</span></p> </td> </tr> <tr> <td width="135"> <p align="left"><span style="FONT-SIZE: 12px"><dt></span></p> </td> <td width="307"> <p align="left"><span style="FONT-SIZE: 12px">定义定义列表中的项目。</span></p> </td> <td width="263"> <p align="left"><span style="FONT-SIZE: 12px">STF</span></p> </td> </tr> <tr> <td width="135"> <p align="left"><span style="FONT-SIZE: 12px"><dd></span></p> </td> <td width="307"> <p align="left"><span style="FONT-SIZE: 12px">定义定义列表中项目的描述。</span></p> </td> <td width="263"> <p align="left"><span style="FONT-SIZE: 12px">STF</span></p> </td> </tr> <tr> <td width="135"> <p align="left"><span style="FONT-SIZE: 12px"><menu></span></p> </td> <td width="307"> <p align="left"><span style="FONT-SIZE: 12px">不赞成使用。定义菜单列表。</span></p> </td> <td width="263"> <p align="left"><span style="FONT-SIZE: 12px">TF</span></p> </td> </tr> </tbody> </table> <td width="135"> <p align="center"><strong>tag</strong> </p> <p align="center"><strong>Description</strong> </p> </td> <td width="263"> <p align="center"><strong>DTD</strong> </p> </td> <td width="135"> <ul> Define an unordered list. </td> <td width="263"> STF </td> <td width="135"> <ol> Define an ordered list. </td> <td width="263"> STF </td> <td width="135"> <li> Define the items of the list. </td> <td width="263"> STF </td> <td width="135"> <dir> Deprecated. Define directory listing. </td> <td width="263"> TF </td> <td width="135"> <dl> Define definition list. </td> <td width="263"> STF </td> <td width="135"> <dt> Define the items in the definition list. </td> <td width="263"> STF </td> <td width="135"> <dd> Define the description of the item in the definition list. </td> <td width="263"> STF </td> <td width="135"> <menu> Deprecated. Define menu list. </td> <td width="263"> TF <p align="left"> </p> <table cellpadding="0" border="1"> <tbody> <tr> <td width="135"> <p align="center"><span style="FONT-SIZE: 12px"><strong>标签</strong></span></p> <table cellpadding="0" border="1"> <tbody> <tr> <td width="135"> <p align="center"><span style="FONT-SIZE: 12px"><strong>标签</strong></span></p> </td> <td width="307"> <p align="center"><span style="FONT-SIZE: 12px"><strong>描述</strong></span></p> </td> <td width="265"> <p align="center"><span style="FONT-SIZE: 12px"><strong>DTD</strong></span></p> </td> </tr> <tr> <td width="135"> <p align="left"><span style="FONT-SIZE: 12px"><img></span></p> </td> <td width="307"> <p align="left"><span style="FONT-SIZE: 12px">定义图像。</span></p> </td> <td width="265"> <p align="left"><span style="FONT-SIZE: 12px">STF</span></p> </td> </tr> <tr> <td width="135"> <p align="left"><span style="FONT-SIZE: 12px"><map></span></p> </td> <td width="307"> <p align="left"><span style="FONT-SIZE: 12px">定义图像映射。</span></p> </td> <td width="265"> <p align="left"><span style="FONT-SIZE: 12px">STF</span></p> </td> </tr> <tr> <td width="135"> <p align="left"><span style="FONT-SIZE: 12px"><area></span></p> </td> <td width="307"> <p align="left"><span style="FONT-SIZE: 12px">定义图像地图内部的区域。</span></p> </td> <td width="265"> <p align="left"><span style="FONT-SIZE: 12px">STF</span></p> </td> </tr> </tbody> </table> </td> <td width="307"> <p align="center"><span style="FONT-SIZE: 12px"><strong>描述</strong></span> </p> </td> <td width="265"> <p align="center"><span style="FONT-SIZE: 12px"><strong>DTD</strong></span> </p> </td> </tr> <tr> <td width="135"> <span style="FONT-SIZE: 12px"><img></span> </td> <td width="307"> <span style="FONT-SIZE: 12px">定义图像。</span> </td> <td width="265"> <span style="FONT-SIZE: 12px">STF</span> </td> </tr> <tr> <td width="135"> <span style="FONT-SIZE: 12px"><map></span> </td> <td width="307"> <span style="FONT-SIZE: 12px">定义图像映射。</span> </td> <td width="265"> <span style="FONT-SIZE: 12px">STF</span> </td> </tr> <tr> <td width="135"> <span style="FONT-SIZE: 12px"><area></span> </td> <td width="307"> <span style="FONT-SIZE: 12px">定义图像地图内部的区域。</span> </td> <td width="265"> <span style="FONT-SIZE: 12px">STF</span> </td> </tr> </tbody> </table> <p align="left"> </p> <table cellpadding="0" border="1"> <tbody> <tr> <td width="134"> <p align="center"><span style="FONT-SIZE: 12px"><strong>标签</strong></span></p> <table cellpadding="0" border="1"> <tbody> <tr> <td width="134"> <p align="center"><span style="FONT-SIZE: 12px"><strong>标签</strong></span></p> </td> <td width="307"> <p align="center"><span style="FONT-SIZE: 12px"><strong>描述</strong></span></p> </td> <td width="263"> <p align="center"><span style="FONT-SIZE: 12px"><strong>DTD</strong></span></p> </td> </tr> <tr> <td width="134"> <p align="left"><span style="FONT-SIZE: 12px"><table></span></p> </td> <td width="307"> <p align="left"><span style="FONT-SIZE: 12px">定义表格</span></p> </td> <td width="263"> <p align="left"><span style="FONT-SIZE: 12px">STF</span></p> </td> </tr> <tr> <td width="134"> <p align="left"><span style="FONT-SIZE: 12px"><caption></span></p> </td> <td width="307"> <p align="left"><span style="FONT-SIZE: 12px">定义表格标题。</span></p> </td> <td width="263"> <p align="left"><span style="FONT-SIZE: 12px">STF</span></p> </td> </tr> <tr> <td width="134"> <p align="left"><span style="FONT-SIZE: 12px"><th></span></p> </td> <td width="307"> <p align="left"><span style="FONT-SIZE: 12px">定义表格中的表头单元格。</span></p> </td> <td width="263"> <p align="left"><span style="FONT-SIZE: 12px">STF</span></p> </td> </tr> <tr> <td width="134"> <p align="left"><span style="FONT-SIZE: 12px"><tr></span></p> </td> <td width="307"> <p align="left"><span style="FONT-SIZE: 12px">定义表格中的行。</span></p> </td> <td width="263"> <p align="left"><span style="FONT-SIZE: 12px">STF</span></p> </td> </tr> <tr> <td width="134"> <p align="left"><span style="FONT-SIZE: 12px"><td></span></p> </td> <td width="307"> <p align="left"><span style="FONT-SIZE: 12px">定义表格中的单元。</span></p> </td> <td width="263"> <p align="left"><span style="FONT-SIZE: 12px">STF</span></p> </td> </tr> <tr> <td width="134"> <p align="left"><span style="FONT-SIZE: 12px"><thead></span></p> </td> <td width="307"> <p align="left"><span style="FONT-SIZE: 12px">定义表格中的表头内容。</span></p> </td> <td width="263"> <p align="left"><span style="FONT-SIZE: 12px">STF</span></p> </td> </tr> <tr> <td width="134"> <p align="left"><span style="FONT-SIZE: 12px"><tbody></span></p> </td> <td width="307"> <p align="left"><span style="FONT-SIZE: 12px">定义表格中的主体内容。</span></p> </td> <td width="263"> <p align="left"><span style="FONT-SIZE: 12px">STF</span></p> </td> </tr> <tr> <td width="134"> <p align="left"><span style="FONT-SIZE: 12px"><tfoot></span></p> </td> <td width="307"> <p align="left"><span style="FONT-SIZE: 12px">定义表格中的表注内容(脚注)。</span></p> </td> <td width="263"> <p align="left"><span style="FONT-SIZE: 12px">STF</span></p> </td> </tr> <tr> <td width="134"> <p align="left"><span style="FONT-SIZE: 12px"><col></span></p> </td> <td width="307"> <p align="left"><span style="FONT-SIZE: 12px">定义表格中一个或多个列的属性值。</span></p> </td> <td width="263"> <p align="left"><span style="FONT-SIZE: 12px">STF</span></p> </td> </tr> <tr> <td width="134"> <p align="left"><span style="FONT-SIZE: 12px"><colgroup></span></p> </td> <td width="307"> <p align="left"><span style="FONT-SIZE: 12px">定义表格中供格式化的列组。</span></p> </td> <td width="263"> <p align="left"><span style="FONT-SIZE: 12px">STF</span></p> </td> </tr> </tbody> </table> </td> <td width="307"> <p align="center"><span style="FONT-SIZE: 12px"><strong>描述</strong></span> </p> </td> <td width="263"> <p align="center"><span style="FONT-SIZE: 12px"><strong>DTD</strong></span> </p> </td> </tr> <tr> <td width="134"> <span style="FONT-SIZE: 12px"><table></span> </td> <td width="307"> <span style="FONT-SIZE: 12px">定义表格</span> </td> <td width="263"> <span style="FONT-SIZE: 12px">STF</span> </td> </tr> <tr> <td width="134"> <span style="FONT-SIZE: 12px"><caption></span> </td> <td width="307"> <span style="FONT-SIZE: 12px">定义表格标题。</span> </td> <td width="263"> <span style="FONT-SIZE: 12px">STF</span> </td> </tr> <tr> <td width="134"> <span style="FONT-SIZE: 12px"><th></span> </td> <td width="307"> <span style="FONT-SIZE: 12px">定义表格中的表头单元格。</span> </td> <td width="263"> <span style="FONT-SIZE: 12px">STF</span> </td> </tr> <tr> <td width="134"> <span style="FONT-SIZE: 12px"><tr></span> </td> <td width="307"> <span style="FONT-SIZE: 12px">定义表格中的行。</span> </td> <td width="263"> <span style="FONT-SIZE: 12px">STF</span> </td> </tr> <tr> <td width="134"> <span style="FONT-SIZE: 12px"><td></span> </td> <td width="307"> <span style="FONT-SIZE: 12px">定义表格中的单元。</span> </td> <td width="263"> <span style="FONT-SIZE: 12px">STF</span> </td> </tr> <tr> <td width="134"> <span style="FONT-SIZE: 12px"><thead></span> </td> <td width="307"> <span style="FONT-SIZE: 12px">定义表格中的表头内容。</span> </td> <td width="263"> <span style="FONT-SIZE: 12px">STF</span> </td> </tr> <tr> <td width="134"> <span style="FONT-SIZE: 12px"><tbody></span> </td> <td width="307"> <span style="FONT-SIZE: 12px">定义表格中的主体内容。</span> </td> <td width="263"> <span style="FONT-SIZE: 12px">STF</span> </td> </tr> <tr> <td width="134"> <span style="FONT-SIZE: 12px"><tfoot></span> </td> <td width="307"> <span style="FONT-SIZE: 12px">定义表格中的表注内容(脚注)。</span> </td> <td width="263"> <span style="FONT-SIZE: 12px">STF</span> </td> </tr> <tr> <td width="134"> <span style="FONT-SIZE: 12px"><col></span> </td> <td width="307"> <span style="FONT-SIZE: 12px">定义表格中一个或多个列的属性值。</span> </td> <td width="263"> <span style="FONT-SIZE: 12px">STF</span> </td> </tr> <tr> <td width="134"> <span style="FONT-SIZE: 12px"><colgroup></span> </td> <td width="307"> <span style="FONT-SIZE: 12px">定义表格中供格式化的列组。</span> </td> <td width="263"> <span style="FONT-SIZE: 12px">STF</span> </td> </tr> </tbody> </table> <p align="left"> </p> <table cellpadding="0" border="1"> <tbody> <tr> <td width="137"> <p align="center"><span style="FONT-SIZE: 12px"><strong>标签</strong></span></p> <table cellpadding="0" border="1"> <tbody> <tr> <td width="137"> <p align="center"><span style="FONT-SIZE: 12px"><strong>标签</strong></span></p> </td> <td width="304"> <p align="center"><span style="FONT-SIZE: 12px"><strong>描述</strong></span></p> </td> <td width="262"> <p align="center"><span style="FONT-SIZE: 12px"><strong>DTD</strong></span></p> </td> </tr> <tr> <td width="137"> <p align="left"><span style="FONT-SIZE: 12px"><style></span></p> </td> <td width="304"> <p align="left"><span style="FONT-SIZE: 12px">定义文档的样式信息。</span></p> </td> <td width="262"> <p align="left"><span style="FONT-SIZE: 12px">STF</span></p> </td> </tr> <tr> <td width="137"> <p align="left"><span style="FONT-SIZE: 12px"><div></span></p> </td> <td width="304"> <p align="left"><span style="FONT-SIZE: 12px">定义文档中的节。</span></p> </td> <td width="262"> <p align="left"><span style="FONT-SIZE: 12px">STF</span></p> </td> </tr> <tr> <td width="137"> <p align="left"><span style="FONT-SIZE: 12px"><span></span></p> </td> <td width="304"> <p align="left"><span style="FONT-SIZE: 12px">定义文档中的节。</span></p> </td> <td width="262"> <p align="left"><span style="FONT-SIZE: 12px">STF</span></p> </td> </tr> </tbody> </table> </td> <td width="304"> <p align="center"><span style="FONT-SIZE: 12px"><strong>描述</strong></span></p> <p align="left"> </p> </td> <td width="262"> <p align="center"><span style="FONT-SIZE: 12px"><strong>DTD</strong></span></p> </td> </tr> <tr> <td width="137"> <table cellpadding="0" border="1"> <tbody> <tr> <td width="138"> <p align="center"><span style="FONT-SIZE: 12px"><strong>标签</strong></span></p> </td> <td width="303"> <p align="center"><span style="FONT-SIZE: 12px"><strong>描述</strong></span></p> </td> <td width="263"> <p align="center"><span style="FONT-SIZE: 12px"><strong>DTD</strong></span></p> </td> </tr> <tr> <td width="138"> <p align="left"><span style="FONT-SIZE: 12px"><head></span></p> </td> <td width="303"> <p align="left"><span style="FONT-SIZE: 12px">定义关于文档的信息。</span></p> </td> <td width="263"> <p align="left"><span style="FONT-SIZE: 12px">STF</span></p> </td> </tr> <tr> <td width="138"> <p align="left"><span style="FONT-SIZE: 12px"><title></span></p> </td> <td width="303"> <p align="left"><span style="FONT-SIZE: 12px">定义文档的标题。</span></p> </td> <td width="263"> <p align="left"><span style="FONT-SIZE: 12px">STF</span></p> </td> </tr> <tr> <td width="138"> <p align="left"><span style="FONT-SIZE: 12px"><meta></span></p> </td> <td width="303"> <p align="left"><span style="FONT-SIZE: 12px">定义关于 HTML 文档的元信息。</span></p> </td> <td width="263"> <p align="left"><span style="FONT-SIZE: 12px">STF</span></p> </td> </tr> <tr> <td width="138"> <p align="left"><span style="FONT-SIZE: 12px"><base></span></p> </td> <td width="303"> <p align="left"><span style="FONT-SIZE: 12px">定义页面中所有链接的默认地址或默认目标。</span></p> </td> <td width="263"> <p align="left"><span style="FONT-SIZE: 12px">STF</span></p> </td> </tr> <tr> <td width="138"> <p align="left"><span style="FONT-SIZE: 12px"><basefont></span></p> </td> <td width="303"> <p align="left"><span style="FONT-SIZE: 12px">不赞成使用。定义页面中文本的默认字体、颜色或尺寸。</span></p> </td> <td width="263"> <p align="left"><span style="FONT-SIZE: 12px">TF</span></p> </td> </tr> </tbody> </table> <span style="FONT-SIZE: 12px"><style></span> </td> <td width="304"> <span style="FONT-SIZE: 12px">定义文档的样式信息。</span> </td> <td width="262"> <span style="FONT-SIZE: 12px">STF</span> </td> </tr> <tr> <td width="137"> <span style="FONT-SIZE: 12px"><div></span> </td> <td width="304"> <span style="FONT-SIZE: 12px">定义文档中的节。</span> </td> <td width="262"> <span style="FONT-SIZE: 12px">STF</span> </td> </tr> <tr> <td width="137"> <span style="FONT-SIZE: 12px"><span></span> </td> <td width="304"> <span style="FONT-SIZE: 12px">定义文档中的节。</span> </td> <td width="262"> <span style="FONT-SIZE: 12px">STF</span> </td> </tr> </tbody> </table>   <table cellpadding="0" border="1"> <tbody> <tr> <td width="138"> <p align="center"><span style="FONT-SIZE: 12px"><strong>标签</strong></span> </p> </td> <td width="303"> <p align="center"><span style="FONT-SIZE: 12px"><strong>描述</strong></span> </p> </td> <td width="263"> <p align="center"><span style="FONT-SIZE: 12px"><strong>DTD</strong></span> </p> </td> </tr> <tr> <td width="138"> <span style="FONT-SIZE: 12px"><head></span> </td> <td width="303"> <span style="FONT-SIZE: 12px">定义关于文档的信息。</span> </td> <td width="263"> <span style="FONT-SIZE: 12px">STF</span> </td> </tr> <tr> <td width="138"> <span style="FONT-SIZE: 12px"><title></span> </td> <td width="303"> <span style="FONT-SIZE: 12px">定义文档的标题。</span> </td> <td width="263"> <span style="FONT-SIZE: 12px">STF</span> </td> </tr> <tr> <td width="138"> <span style="FONT-SIZE: 12px"><meta></span> </td> <td width="303"> <span style="FONT-SIZE: 12px">定义关于 HTML 文档的元信息。</span> </td> <td width="263"> <span style="FONT-SIZE: 12px">STF</span> </td> </tr> <tr> <td width="138"> <span style="FONT-SIZE: 12px"><base></span> </td> <td width="303"> <span style="FONT-SIZE: 12px">定义页面中所有链接的默认地址或默认目标。</span> </td> <td width="263"> <span style="FONT-SIZE: 12px">STF</span> </td> </tr> <tr> <td width="138"> <span style="FONT-SIZE: 12px"><basefont></span> </td> <td width="303"> <span style="FONT-SIZE: 12px">不赞成使用。定义页面中文本的默认字体、颜色或尺寸。</span> </td> <td width="263"> <span style="FONT-SIZE: 12px">TF</span> </td> </tr> </tbody> </table> <p align="left"> </p> <table cellpadding="0" border="1"> <tbody> <tr> <td width="137"> <p align="center"><span style="FONT-SIZE: 12px"><strong>标签</strong></span></p> <table cellpadding="0" border="1"> <tbody> <tr> <td width="137"> <p align="center"><span style="FONT-SIZE: 12px"><strong>标签</strong></span></p> </td> <td width="306"> <p align="center"><span style="FONT-SIZE: 12px"><strong>描述</strong></span></p> </td> <td width="262"> <p align="center"><span style="FONT-SIZE: 12px"><strong>DTD</strong></span></p> </td> </tr> <tr> <td width="137"> <p align="left"><span style="FONT-SIZE: 12px"><script></span></p> </td> <td width="306"> <p align="left"><span style="FONT-SIZE: 12px">定义客户端脚本。</span></p> </td> <td width="262"> <p align="left"><span style="FONT-SIZE: 12px">STF</span></p> </td> </tr> <tr> <td width="137"> <p align="left"><span style="FONT-SIZE: 12px"><noscript></span></p> </td> <td width="306"> <p align="left"><span style="FONT-SIZE: 12px">定义针对不支持客户端脚本的用户的替代内容。</span></p> </td> <td width="262"> <p align="left"><span style="FONT-SIZE: 12px">STF</span></p> </td> </tr> <tr> <td width="137"> <p align="left"><span style="FONT-SIZE: 12px"><applet></span></p> </td> <td width="306"> <p align="left"><span style="FONT-SIZE: 12px">不赞成使用。定义嵌入的 applet。</span></p> </td> <td width="262"> <p align="left"><span style="FONT-SIZE: 12px">TF</span></p> </td> </tr> <tr> <td width="137"> <p align="left"><span style="FONT-SIZE: 12px"><object></span></p> </td> <td width="306"> <p align="left"><span style="FONT-SIZE: 12px">定义嵌入的对象。</span></p> </td> <td width="262"> <p align="left"><span style="FONT-SIZE: 12px">STF</span></p> </td> </tr> <tr> <td width="137"> <p align="left"><span style="FONT-SIZE: 12px"><param></span></p> </td> <td width="306"> <p align="left"><span style="FONT-SIZE: 12px">定义对象的参数。</span></p> </td> <td width="262"> <p align="left"><span style="FONT-SIZE: 12px">STF</span></p> </td> </tr> </tbody> </table> </td> <td width="306"> <p align="center"><span style="FONT-SIZE: 12px"><strong>描述</strong></span> </p> </td> <td width="262"> <p align="center"><span style="FONT-SIZE: 12px"><strong>DTD</strong></span> </p> </td> </tr> <tr> <td width="137"> <span style="FONT-SIZE: 12px"><script></span> </td> <td width="306"> <span style="FONT-SIZE: 12px">定义客户端脚本。</span> </td> <td width="262"> <span style="FONT-SIZE: 12px">STF</span> </td> </tr> <tr> <td width="137"> <span style="FONT-SIZE: 12px"><noscript></span> </td> <td width="306"> <span style="FONT-SIZE: 12px">定义针对不支持客户端脚本的用户的替代内容。</span> </td> <td width="262"> <span style="FONT-SIZE: 12px">STF</span> </td> </tr> <tr> <td width="137"> <span style="FONT-SIZE: 12px"><applet></span> </td> <td width="306"> <span style="FONT-SIZE: 12px">不赞成使用。定义嵌入的 applet。</span> </td> <td width="262"> <span style="FONT-SIZE: 12px">TF</span> </td> </tr> <tr> <td width="137"> <span style="FONT-SIZE: 12px"><object></span> </td> <td width="306"> <span style="FONT-SIZE: 12px">定义嵌入的对象。</span> </td> <td width="262"> <span style="FONT-SIZE: 12px">STF</span> </td> </tr> <tr> <td width="137"> <span style="FONT-SIZE: 12px"><param></span> </td> <td width="306"> <span style="FONT-SIZE: 12px">定义对象的参数。</span> </td> <td width="262"> <span style="FONT-SIZE: 12px">STF</span> </td> </tr> </tbody> </table> </td> </tbody> </table> </td> </tr> </tbody> </table> </td> </tr> </tbody> </table> </td> </tr> </tbody> </table></div><div class="nphpQianMsg"><div class="clear"></div></div><div class="nphpQianSheng"><span>Statement:</span><div>The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn</div></div></div><div class="nphpSytBox"><span>Previous article:<a class="dBlack" title="Color hexadecimal color code table display and hexadecimal numerical comparison display for easy search_HTML/Xhtml_Web page production" href="http://m.php.cn/faq/11897.html">Color hexadecimal color code table display and hexadecimal numerical comparison display for easy search_HTML/Xhtml_Web page production</a></span><span>Next article:<a class="dBlack" title="Color hexadecimal color code table display and hexadecimal numerical comparison display for easy search_HTML/Xhtml_Web page production" href="http://m.php.cn/faq/11899.html">Color hexadecimal color code table display and hexadecimal numerical comparison display for easy search_HTML/Xhtml_Web page production</a></span></div><div class="nphpSytBox2"><div class="nphpZbktTitle"><h2>Related articles</h2><em><a href="http://m.php.cn/article.html" class="bBlack"><i>See more</i><b></b></a></em><div class="clear"></div></div><ins class="adsbygoogle" style="display:block" data-ad-format="fluid" data-ad-layout-key="-6t+ed+2i-1n-4w" data-ad-client="ca-pub-5902227090019525" data-ad-slot="8966999616"></ins><script> (adsbygoogle = window.adsbygoogle || []).push({}); </script><ul class="nphpXgwzList"><li><b></b><a href="http://m.php.cn/faq/348757.html" title="Summary of Html knowledge" class="aBlack">Summary of Html knowledge</a><div class="clear"></div></li><li><b></b><a href="http://m.php.cn/faq/348804.html" title="How to learn HTML quickly" class="aBlack">How to learn HTML quickly</a><div class="clear"></div></li><li><b></b><a href="http://m.php.cn/faq/348873.html" title="The difference between html xhtml xml" class="aBlack">The difference between html xhtml xml</a><div class="clear"></div></li><li><b></b><a href="http://m.php.cn/faq/348884.html" title="The difference between src and href attributes" class="aBlack">The difference between src and href attributes</a><div class="clear"></div></li><li><b></b><a href="http://m.php.cn/faq/348902.html" title="About HTML5 and CSS replacement use" class="aBlack">About HTML5 and CSS replacement use</a><div class="clear"></div></li></ul></div></div><ins class="adsbygoogle" style="display:block" data-ad-format="autorelaxed" data-ad-client="ca-pub-5902227090019525" data-ad-slot="5027754603"></ins><script> (adsbygoogle = window.adsbygoogle || []).push({}); </script><footer><div class="footer"><div class="footertop"><img src="/static/imghwm/logo.png" alt=""><p>Public welfare online PHP training,Help PHP learners grow quickly!</p></div><div class="footermid"><a href="http://m.php.cn/about/us.html">About us</a><a href="http://m.php.cn/about/disclaimer.html">Disclaimer</a><a href="http://m.php.cn/update/article_0_1.html">Sitemap</a></div><div class="footerbottom"><p> © php.cn All rights reserved </p></div></div></footer><script>isLogin = 0;</script><script type="text/javascript" src="/static/layui/layui.js"></script><script type="text/javascript" src="/static/js/global.js?4.9.47"></script></div><script src="https://vdse.bdstatic.com//search-video.v1.min.js"></script><link rel='stylesheet' id='_main-css' href='/static/css/viewer.min.css' type='text/css' media='all'/><script type='text/javascript' src='/static/js/viewer.min.js?1'></script><script type='text/javascript' src='/static/js/jquery-viewer.min.js'></script><script>jQuery.fn.wait = function (func, times, interval) { var _times = times || -1, //100次 _interval = interval || 20, //20毫秒每次 _self = this, _selector = this.selector, //选择器 _iIntervalID; //定时器id if( this.length ){ //如果已经获取到了,就直接执行函数 func && func.call(this); } else { _iIntervalID = setInterval(function() { if(!_times) { //是0就退出 clearInterval(_iIntervalID); } _times <= 0 || _times--; //如果是正数就 -- _self = $(_selector); //再次选择 if( _self.length ) { //判断是否取到 func && func.call(_self); clearInterval(_iIntervalID); } }, _interval); } return this; } $("table.syntaxhighlighter").wait(function() { $('table.syntaxhighlighter').append("<p class='cnblogs_code_footer'><span class='cnblogs_code_footer_icon'></span></p>"); }); $(document).on("click", ".cnblogs_code_footer",function(){ $(this).parents('table.syntaxhighlighter').css('display','inline-table');$(this).hide(); }); $('.nphpQianCont').viewer({navbar:true,title:false,toolbar:false,movable:false,viewed:function(){$('img').click(function(){$('.viewer-close').trigger('click');});}}); </script></body></html>