Home >Web Front-end >HTML Tutorial >Summary of DTD usage in html_html/css_WEB-ITnose

Summary of DTD usage in html_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:38:401174browse

DTD is a set of grammatical 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: 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 an old version tag comparison DTD document:

标签

描述

DTD

 

定义文档类型。

STF

定义 HTML 文档。

STF

定义文档的主体。

STF

to

定义 HTML 标题。

STF

定义段落。

STF


定义简单的折行。

STF


定义水平线。

STF

定义注释。

STF

Tag
Description DTD td>
Define the document type. STF
Define HTML document. STF
Define the body of the document. STF

to

Define HTML title. STF

Define paragraphs. STF

Define simple line breaks. STF

Define horizontal lines. STF
Define comments. STF

标签

描述

DTD

定义粗体文本。

STF

不赞成使用。定义文本的字体、尺寸和颜色

TF

定义斜体文本。

STF

定义强调文本。

STF

定义大号文本。

STF

定义语气更为强烈的强调文本。

STF

定义小号文本。

STF

定义上标文本。

STF

定义下标文本。

STF

定义文本的方向。

STF

不赞成使用。定义下划线文本。

TF

Tag

Description

标签

描述

DTD

定义预格式文本

STF

定义计算机代码文本。

STF

定义打字机文本。

STF

定义键盘文本。

STF

定义文本的变量部分。

STF

定义定义项目。

STF

定义计算机代码样本。

STF

</p> </td> <td> <p>不赞成使用。定义预格式文本。</p> </td> <td> </td> </tr> </table> </td> <td> <p><strong>DTD</strong></p> </td> </tr> <tr> <td> <table> <tr> <td> <p><strong>标签</strong></p> </td> <td> <p><strong>描述</strong></p> </td> <td> <p><strong>DTD</strong></p> </td> </tr> <tr> <td> <p><acronym></p> </td> <td> <p>定义只取首字母的缩写。</p> </td> <td> <p>STF</p> </td> </tr> <tr> <td> <p><abbr></p> </td> <td> <p>定义缩写。</p> </td> <td> <p>STF</p> </td> </tr> <tr> <td> <p><address></p> </td> <td> <p>定义文档作者或拥有者的联系信息。</p> </td> <td> <p>STF</p> </td> </tr> <tr> <td> <p><blockquote></p> </td> <td> <p>定义块引用。</p> </td> <td> <p>STF</p> </td> </tr> <tr> <td> <p><center></p> </td> <td> <p>不赞成使用。定义居中文本。</p> </td> <td> <p>TF</p> </td> </tr> <tr> <td> <p><q></p> </td> <td> <p>定义短的引用。</p> </td> <td> <p>STF</p> </td> </tr> <tr> <td> <p><cite></p> </td> <td> <p>定义引用(citation)。</p> </td> <td> <p>STF</p> </td> </tr> <tr> <td> <p><ins></p> </td> <td> <p>定义被插入文本。</p> </td> <td> <p>STF</p> </td> </tr> <tr> <td> <p><del></p> </td> <td> <p>定义被删除文本。</p> </td> <td> <p>STF</p> </td> </tr> <tr> <td> <p><s></p> </td> <td> <p>不赞成使用。定义加删除线的文本。</p> </td> <td> <p>TF</p> </td> </tr> <tr> <td> <p><strike></p> </td> <td> <p>不赞成使用。定义加删除线的文本。</p> </td> <td> <p>TF</p> </td> </tr> </table><b> </td> Define bold text. <td> STF </td> </tr> <tr> <td> <font> </td> <td> Deprecated. Define text font, size and color </td> <td> TF </td> </tr> <tr> <td> <i> </td> <td> Define italic text. </td> <td> STF </td> </tr> <tr> <td> <em> </td> <td> Define emphasis text. </td> <td> STF </td> </tr> <tr> <td> <big> </td> <td> Define large text. </td> <td> STF </td> </tr> <tr> <td> <strong> </td> <td> Define a stronger tone of emphasis for the text. </td> <td> STF </td> </tr> <tr> <td> <small> </td> <td> Define small text. </td> <td> STF </td> </tr> <tr> <td> <sup> </td> <td> Define superscript text. </td> <td> STF </td> </tr> <tr> <td> <sub> </td> <td> Define subscript text. </td> <td> STF </td> </tr> <tr> <td> <bdo> </td> <td> Define the direction of the text. </td> <td> STF </td> </tr> <tr> <td> <u> </td> <td> Deprecated. Defines underlined text. </td> <td> TF </td> </tr> </table> <table> <tr> <td> <strong> Tags</strong> </td> <td> <strong>Description</strong> </td> <td> <strong>DTD</strong> </td> </tr> <tr> <td> <pre class="brush:php;toolbar:false"> </td> <td> Define preformatted text </td> <td> STF </td> </tr> <tr> <td> <code> </td> <td> Define computer code text. </td> <td> STF </td> </tr> <tr> <td> <tt> </td> <td> Define typewriter text. </td> <td> STF </td> </tr> <tr> <td> <kbd> </td> <td> Define keyboard text. </td> <td> STF </td> </tr> <tr> <td> <var> </td> <td> Define the variable part of the text. </td> <td> STF </td> </tr> <tr> <td> <dfn> </td> <td> Define definition items. </td> <td> STF </td> </tr> <tr> <td> <samp> </td> <td> Define computer code samples. </td> <td> STF </td> </tr> <tr> <td> <xmp> </td> <td> Deprecated. Define preformatted text. </td> <td> </td> </tr> </table> <table> <tr> <td> <strong>tag</strong> </td> <td> <strong>Description</strong> </td> <td> <strong>DTD</strong> </td> </tr> <tr> <td> <acronym> </td> <td> Define an abbreviation with only the first letter. </td> <td> STF </td> </tr> <tr> <td> <abbr> </td> <td> Define abbreviations. </td> <td> STF </td> </tr> <tr> <td> <address> </td> <td> Define contact information for the document author or owner. </td> <td> STF </td> </tr> <tr> <td> <blockquote> </td> <td> Define block references. </td> <td> STF </td> </tr> <tr> <td> <center> </td> <td> Deprecated. Define centered text. </td> <td> TF </td> </tr> <tr> <td> <q> </td> <td> Define short quotes. </td> <td> STF </td> </tr> <tr> <td> <cite> </td> <td> Define citation. </td> <td> STF </td> </tr> <tr> <td> <ins> </td> <td> The definition is inserted into the text. </td> <td> STF </td> </tr> <tr> <td> <del> </td> <td> Define deleted text. </td> <td> STF </td> </tr> <tr> <td> <s> </td> <td> Deprecated. Defines strikethrough text. </td> <td> TF </td> </tr> <tr> <td> <strike> </td> <td> Deprecated. Defines strikethrough text. </td> <td> TF </td> </tr> </table> <p> </p> <table> <tr> <td> <table> <tr> <td> <p><strong>标签</strong></p> </td> <td> <p><strong>描述</strong></p> </td> <td> <p><strong>DTD</strong></p> </td> </tr> <tr> <td> <p><a></p> </td> <td> <p>定义锚。</p> </td> <td> <p>STF</p> </td> </tr> <tr> <td> <p><link></p> </td> <td> <p>定义文档与外部资源的关系。</p> </td> <td> <p>STF</p> </td> </tr> </table> <strong>Tag</strong><p> </p> </td> <td> <strong>Description</strong><table> <tr> <td> <p><strong>标签</strong></p> </td> <td> <p><strong>描述</strong></p> </td> <td> <p><strong>DTD</strong></p> </td> </tr> <tr> <td> <p><frame></p> </td> <td> <p>定义框架集的窗口或框架。</p> </td> <td> <p>F</p> </td> </tr> <tr> <td> <p><frameset></p> </td> <td> <p>定义框架集。</p> </td> <td> <p>F</p> </td> </tr> <tr> <td> <p><noframes></p> </td> <td> <p>定义针对不支持框架的用户的替代内容。</p> </td> <td> <p>TF</p> </td> </tr> <tr> <td> <p><iframe></p> </td> <td> <p>定义内联框架。</p> </td> <td> <p>TF</p> </td> </tr> </table> </td> <td> <p><strong>DTD</strong></p> </td> </tr> <tr> <td> <table> <tr> <td> <p><strong>标签</strong></p> </td> <td> <p><strong>描述</strong></p> </td> <td> <p><strong>DTD</strong></p> </td> </tr> <tr> <td> <p><form></p> </td> <td> <p>定义供用户输入的 HTML 表单。</p> </td> <td> <p>STF</p> </td> </tr> <tr> <td> <p><input></p> </td> <td> <p>定义输入控件。</p> </td> <td> <p>STF</p> </td> </tr> <tr> <td> <p><textarea></p> </td> <td> <p>定义多行的文本输入控件。</p> </td> <td> <p>STF</p> </td> </tr> <tr> <td> <p><button></p> </td> <td> <p>定义按钮。</p> </td> <td> <p>STF</p> </td> </tr> <tr> <td> <p><select></p> </td> <td> <p>定义选择列表(下拉列表)。</p> </td> <td> <p>STF</p> </td> </tr> <tr> <td> <p><optgroup></p> </td> <td> <p>定义选择列表中相关选项的组合。</p> </td> <td> <p>STF</p> </td> </tr> <tr> <td> <p><option></p> </td> <td> <p>定义选择列表中的选项。</p> </td> <td> <p>STF</p> </td> </tr> <tr> <td> <p><label></p> </td> <td> <p>定义 input 元素的标注。</p> </td> <td> <p>STF</p> </td> </tr> <tr> <td> <p><fieldset></p> </td> <td> <p>定义围绕表单中元素的边框。</p> </td> <td> <p>STF</p> </td> </tr> <tr> <td> <p><legend></p> </td> <td> <p>定义 fieldset 元素的标题。</p> </td> <td> <p>STF</p> </td> </tr> <tr> <td> <p><isindex></p> </td> <td> <p>不赞成使用。定义与文档相关的可搜索索引。</p> </td> <td> <p>TF</p> </td> </tr> </table><a><p> </p> </td> Define anchor. <table> <tr> <td> <p><strong>标签</strong></p> </td> <td> <p><strong>描述</strong></p> </td> <td> <p><strong>DTD</strong></p> </td> </tr> <tr> <td> <p><ul></p> </td> <td> <p>定义无序列表。</p> </td> <td> <p>STF</p> </td> </tr> <tr> <td> <p><ol></p> </td> <td> <p>定义有序列表。</p> </td> <td> <p>STF</p> </td> </tr> <tr> <td> <p><li></p> </td> <td> <p>定义列表的项目。</p> </td> <td> <p>STF</p> </td> </tr> <tr> <td> <p><dir></p> </td> <td> <p>不赞成使用。定义目录列表。</p> </td> <td> <p>TF</p> </td> </tr> <tr> <td> <p><dl></p> </td> <td> <p>定义定义列表。</p> </td> <td> <p>STF</p> </td> </tr> <tr> <td> <p><dt></p> </td> <td> <p>定义定义列表中的项目。</p> </td> <td> <p>STF</p> </td> </tr> <tr> <td> <p><dd></p> </td> <td> <p>定义定义列表中项目的描述。</p> </td> <td> <p>STF</p> </td> </tr> <tr> <td> <p><menu></p> </td> <td> <p>不赞成使用。定义菜单列表。</p> </td> <td> <p>TF</p> </td> </tr> </table> <td> <p>STF</p> </td> </tr> <tr> <td> <table> <tr> <td> <p><strong>标签</strong></p> </td> <td> <p><strong>描述</strong></p> </td> <td> <p><strong>DTD</strong></p> </td> </tr> <tr> <td> <p><img></p> </td> <td> <p>定义图像。</p> </td> <td> <p>STF</p> </td> </tr> <tr> <td> <p><map></p> </td> <td> <p>定义图像映射。</p> </td> <td> <p>STF</p> </td> </tr> <tr> <td> <p><area></p> </td> <td> <p>定义图像地图内部的区域。</p> </td> <td> <p>STF</p> </td> </tr> </table><link> </td> <td> Define the document's relationship to external resources. </td> <td> STF </td> </tr> </table> <table> <tr> <td> <strong> Tags</strong> </td> <td> <strong>Description</strong> </td> <td> <strong>DTD</strong> </td> </tr> <tr> <td> <frame> </td> <td> The window or frame that defines the frameset. </td> <td> F </td> </tr> <tr> <td> <frameset> </td> <td> Define the frameset. </td> <td> F </td> </tr> <tr> <td> <noframes> </td> <td> Define alternative content for users who don't support frames. </td> <td> TF </td> </tr> <tr> <td> <iframe> </td> <td> Define inline frames. </td> <td> TF </td> </tr> </table> <table> <tr> <td> <strong> Tags</strong> </td> <td> <strong>Description</strong> </td> <td> <strong>DTD</strong> </td> </tr> <tr> <td> <form> </td> <td> Define an HTML form for user input. </td> <td> STF </td> </tr> <tr> <td> <input> </td> <td> Define input controls. </td> <td> STF </td> </tr> <tr> <td> <textarea> </td> <td> Define a multi-line text input control. </td> <td> STF </td> </tr> <tr> <td> <button> </td> <td> Define button. </td> <td> STF </td> </tr> <tr> <td> <select> </td> <td> Define a selection list (drop-down list). </td> <td> STF </td> </tr> <tr> <td> <optgroup> </td> <td> Define combinations of related options in a selection list. </td> <td> STF </td> </tr> <tr> <td> <option> </td> <td> Define the options in the selection list. </td> <td> STF </td> </tr> <tr> <td> <label> </td> <td> Define the annotation of the input element. </td> <td> STF </td> </tr> <tr> <td> <fieldset> </td> <td> Define the border around the elements in the form. </td> <td> STF </td> </tr> <tr> <td> <legend> </td> <td> Define the title of the fieldset element. </td> <td> STF </td> </tr> <tr> <td> <isindex> </td> <td> Deprecated. Defines a searchable index associated with the document. </td> <td> TF </td> </tr> </table> <table> <tr> <td> <strong> Tags</strong> </td> <td> <strong>Description</strong> </td> <td> <strong>DTD</strong> </td> </tr> <tr> <td> <ul> </td> <td> Define an unordered list. </td> <td> STF </td> </tr> <tr> <td> <ol> </td> <td> Define an ordered list. </td> <td> STF </td> </tr> <tr> <td> <li> </td> <td> Define the items of the list. </td> <td> STF </td> </tr> <tr> <td> <dir> </td> <td> Deprecated. Define directory listing. </td> <td> TF </td> </tr> <tr> <td> <dl> </td> <td> Define definition list. </td> <td> STF </td> </tr> <tr> <td> <dt> </td> <td> Define the items in the definition list. </td> <td> STF </td> </tr> <tr> <td> <dd> </td> <td> Define the description of the item in the definition list. </td> <td> STF </td> </tr> <tr> <td> <menu> </td> <td> Deprecated. Define menu list. </td> <td> TF </td> </tr> </table> <table> <tr> <td> <strong> Tags</strong> </td> <td> <strong>Description</strong> </td> <td> <strong>DTD</strong> </td> </tr> <tr> <td> <img> </td> <td> Define the image. </td> <td> STF </td> </tr> <tr> <td> <map> </td> <td> Define image map. </td> <td> STF </td> </tr> <tr> <td> <area> </td> <td> Define the area inside the image map. </td> <td> STF </td> </tr> </table> <p> </p> <table> <tr> <td> <table> <tr> <td> <p><strong>标签</strong></p> </td> <td> <p><strong>描述</strong></p> </td> <td> <p><strong>DTD</strong></p> </td> </tr> <tr> <td> <p><table></p> </td> <td> <p>定义表格</p> </td> <td> <p>STF</p> </td> </tr> <tr> <td> <p><caption></p> </td> <td> <p>定义表格标题。</p> </td> <td> <p>STF</p> </td> </tr> <tr> <td> <p><th></p> </td> <td> <p>定义表格中的表头单元格。</p> </td> <td> <p>STF</p> </td> </tr> <tr> <td> <p><tr></p> </td> <td> <p>定义表格中的行。</p> </td> <td> <p>STF</p> </td> </tr> <tr> <td> <p><td></p> </td> <td> <p>定义表格中的单元。</p> </td> <td> <p>STF</p> </td> </tr> <tr> <td> <p><thead></p> </td> <td> <p>定义表格中的表头内容。</p> </td> <td> <p>STF</p> </td> </tr> <tr> <td> <p><tbody></p> </td> <td> <p>定义表格中的主体内容。</p> </td> <td> <p>STF</p> </td> </tr> <tr> <td> <p><tfoot></p> </td> <td> <p>定义表格中的表注内容(脚注)。</p> </td> <td> <p>STF</p> </td> </tr> <tr> <td> <p><col></p> </td> <td> <p>定义表格中一个或多个列的属性值。</p> </td> <td> <p>STF</p> </td> </tr> <tr> <td> <p><colgroup></p> </td> <td> <p>定义表格中供格式化的列组。</p> </td> <td> <p>STF</p> </td> </tr> </table> <strong>Tag</strong><p> </p> </td> <td> <strong>Description</strong><table> <tr> <td> <p><strong>标签</strong></p> </td> <td> <p><strong>描述</strong></p> </td> <td> <p><strong>DTD</strong></p> </td> </tr> <tr> <td> <p><style></p> </td> <td> <p>定义文档的样式信息。</p> </td> <td> <p>STF</p> </td> </tr> <tr> <td> <p><div></p> </td> <td> <p>定义文档中的节。</p> </td> <td> <p>STF</p> </td> </tr> <tr> <td> <p><span></p> </td> <td> <p>定义文档中的节。</p> </td> <td> <p>STF</p> </td> </tr> </table> </td> <td> <p><strong>DTD</strong></p> </td> </tr> <tr> <td> <table> <tr> <td> <p><strong>标签</strong></p> </td> <td> <p><strong>描述</strong></p> </td> <td> <p><strong>DTD</strong></p> </td> </tr> <tr> <td> <p><head></p> </td> <td> <p>定义关于文档的信息。</p> </td> <td> <p>STF</p> </td> </tr> <tr> <td> <p><title></p> </td> <td> <p>定义文档的标题。</p> </td> <td> <p>STF</p> </td> </tr> <tr> <td> <p><meta></p> </td> <td> <p>定义关于 HTML 文档的元信息。</p> </td> <td> <p>STF</p> </td> </tr> <tr> <td> <p><base></p> </td> <td> <p>定义页面中所有链接的默认地址或默认目标。</p> </td> <td> <p>STF</p> </td> </tr> <tr> <td> <p><basefont></p> </td> <td> <p>不赞成使用。定义页面中文本的默认字体、颜色或尺寸。</p> </td> <td> <p>TF</p> </td> </tr> </table><table><p> </p> </td> Definition table<table> <tr> <td> <p><strong>标签</strong></p> </td> <td> <p><strong>描述</strong></p> </td> <td> <p><strong>DTD</strong></p> </td> </tr> <tr> <td> <p><script></p> </td> <td> <p>定义客户端脚本。</p> </td> <td> <p>STF</p> </td> </tr> <tr> <td> <p><noscript></p> </td> <td> <p>定义针对不支持客户端脚本的用户的替代内容。</p> </td> <td> <p>STF</p> </td> </tr> <tr> <td> <p><applet></p> </td> <td> <p>不赞成使用。定义嵌入的 applet。</p> </td> <td> <p>TF</p> </td> </tr> <tr> <td> <p><object></p> </td> <td> <p>定义嵌入的对象。</p> </td> <td> <p>STF</p> </td> </tr> <tr> <td> <p><param></p> </td> <td> <p>定义对象的参数。</p> </td> <td> <p>STF</p> </td> </tr> </table> <td> STF<p class="sycode"> </p> </td> </tr> <tr> <td> <caption><p class="sycode"> td> </p> </td> <td> Define the table title. <p class="sycode"> </p> </td> <td> <p class="sycode">STF</p> </td> </tr> <tr> <td> <p class="sycode"><th></p> </td> <td> <p class="sycode">Define the header cell in the table. </p> </td> <td> <p class="sycode">STF</p> </td> </tr> <tr> <td> <p class="sycode"><tr></p> </td> <td> Define the rows in the table. </td> <td> STF </td> </tr> <tr> <td> <td> </td> <td> Define the cells in the table. </td> <td> STF </td> </tr> <tr> <td> <thead> </td> <td> Define the header content in the table. </td> <td> STF </td> </tr> <tr> <td> <tbody> </td> <td> Define the main content in the table. </td> <td> STF </td> </tr> <tr> <td> <tfoot> </td> <td> Define the content of table notes (footnotes) in the table. </td> <td> STF </td> </tr> <tr> <td> <col> </td> <td> Define attribute values ​​for one or more columns in the table. </td> <td> STF </td> </tr> <tr> <td> <colgroup> </td> <td> Define column groups in the table for formatting. </td> <td> STF </td> </tr> </table> <table> <tr> <td> <strong> Tags</strong> </td> <td> <strong>Description</strong> </td> <td> <strong>DTD</strong> </td> </tr> <tr> <td> <style> </td> <td> Define the style information of the document. </td> <td> STF </td> </tr> <tr> <td> <div> </td> <td> Define sections in the document. </td> <td> STF </td> </tr> <tr> <td> <span> </td> <td> Define sections in the document. </td> <td> STF </td> </tr> </table> <table> <tr> <td> <strong> Tags</strong> </td> <td> <strong>Description</strong> </td> <td> <strong>DTD</strong> </td> </tr> <tr> <td> <head> </td> <td> Define information about the document. </td> <td> STF </td> </tr> <tr> <td> <title> </td> <td> Define the title of the document. </td> <td> STF </td> </tr> <tr> <td> <meta> </td> <td> Define meta-information about the HTML document. </td> <td> STF </td> </tr> <tr> <td> <base> </td> <td> Define the default address or default target for all links in the page. </td> <td> STF </td> </tr> <tr> <td> <basefont> </td> <td> Deprecated. Define the default font, color, or size for text on the page. </td> <td> TF </td> </tr> </table> <table> <tr> <td> <strong> Tags</strong> </td> <td> <strong>Description</strong> </td> <td> <strong>DTD</strong> </td> </tr> <tr> <td> <script> </td> <td> Define client script. </td> <td> STF </td> </tr> <tr> <td> <noscript> </td> <td> Define alternative content for users who do not support client-side scripting. </td> <td> STF </td> </tr> <tr> <td> <applet> </td> <td> Deprecated. Define embedded applets. </td> <td> TF </td> </tr> <tr> <td> <object> </td> <td> Define embedded objects. </td> <td> STF </td> </tr> <tr> <td> <param> </td> <td> Define the parameters of the object. </td> <td> STF </td> </tr> </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="CSS Layout Character Layout_html/css_WEB-ITnose" href="https://m.php.cn/faq/272620.html">CSS Layout Character Layout_html/css_WEB-ITnose</a></span><span>Next article:<a class="dBlack" title="CSS Layout Character Layout_html/css_WEB-ITnose" href="https://m.php.cn/faq/272623.html">CSS Layout Character Layout_html/css_WEB-ITnose</a></span></div><div class="nphpSytBox2"><div class="nphpZbktTitle"><h2>Related articles</h2><em><a href="https://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="https://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="https://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="https://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="https://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="https://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="https://m.php.cn/about/us.html">About us</a><a href="https://m.php.cn/about/disclaimer.html">Disclaimer</a><a href="https://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><!-- Matomo --><script> var _paq = window._paq = window._paq || []; /* tracker methods like "setCustomDimension" should be called before "trackPageView" */ _paq.push(['trackPageView']); _paq.push(['enableLinkTracking']); (function() { var u="https://tongji.php.cn/"; _paq.push(['setTrackerUrl', u+'matomo.php']); _paq.push(['setSiteId', '9']); var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s); })(); </script><!-- End Matomo Code --></html>