Rumah  >  Artikel  >  hujung hadapan web  >  Ringkasan penggunaan DTD dalam pengeluaran halaman html_HTML/Xhtml_Web

Ringkasan penggunaan DTD dalam pengeluaran halaman html_HTML/Xhtml_Web

WBOY
WBOYasal
2016-05-16 16:41:281335semak imbas

DTD ialah satu set peraturan sintaks untuk teg. Ia adalah sebahagian daripada spesifikasi versi XML1.0, ialah mekanisme pengesahan fail html, dan merupakan sebahagian daripada komposisi fail html.

DTD: tiga jenis dokumen: S (Ketat), T (Peralihan), F (Frameset).
Ketat: Gunakan jenis ini jika anda memerlukan penanda bersih tanpa kekacauan dalam lapisan pembentangan. Sila gunakan dengan Cascading Style Sheets (CSS)
Transitional: DTD boleh mengandungi atribut pemaparan dan elemen yang W3C jangkakan untuk dialihkan ke dalam style sheet. Gunakan
Frameset jika pembaca anda menggunakan penyemak imbas yang tidak menyokong Cascading Style Sheets (CSS) dan anda perlu menggunakan ciri pemaparan HTML: DTD harus digunakan untuk dokumen dengan bingkai. Kecuali elemen frameset menggantikan elemen badan, Frameset DTD adalah bersamaan dengan DTD Peralihan

html5 pada asasnya tidak mempunyai keperluan ketat XHTML 1.0 Transitional, dan memudahkan banyak perkara dan boleh digunakan secara terus

HTML5
———
xhtml 1.1:

xhtml 1.1 plus mathml plus svg:

———————————————————————————— ——————
html 4.01 ketat:

html 4.01 peralihan:

html 4.01 frameset:

——————————————————————————————
xhtml 1.0 ketat:

xhtml 1.0 peralihan:

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

—— ——————————————————————————————
html 2 (nombor 2 mewakili nombor versi):


Dilampirkan ialah perbandingan teg versi lama dengan DTD dokumen:



Tentukan jenis dokumen. STFTentukan dokumen HTML.
Teg

Penerangan

DTD

STF

Tentukan kandungan dokumen.

STF

kepada

Tentukan tajuk HTML.

STF

Tentukan perenggan.

STF


Tentukan pemisah baris mudah.

STF


Tentukan garis mendatar.

STF

Tentukan anotasi.

STF

Teg

Penerangan

DTD

Tentukan teks tebal.

STF

Ditamatkan. Tentukan fon teks, saiz dan warna

TF

Tentukan teks condong.

STF

Takrifkan teks penekanan.

STF

Tentukan teks besar.

STF

Tentukan teks penekanan dengan nada yang lebih kuat.

STF

Tentukan teks kecil.

STF

Tentukan teks superskrip.

STF

Tentukan teks subskrip.

STF

Tentukan arah teks.

STF

Ditamatkan. Mentakrifkan teks bergaris.

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>teg</strong> </td> <td width="302"> <p align="center"><strong>Penerangan</strong> </p> </td> <td width="260"> <p align="center"><strong>DTD</strong> </p> </td> </tr> <tr> <td width="137"> <pra> </td> <td width="302"> Tentukan teks praformat </td> <td width="260"> STF </td> </tr> <tr> <td width="137"> <kod> </td> <td width="302"> Tentukan teks kod komputer. </td> <td width="260"> STF </td> </tr> <tr> <td width="137"> <tt> </td> <td width="302"> Tentukan teks mesin taip. </td> <td width="260"> STF </td> </tr> <tr> <td width="137"> <kbd> </td> <td width="302"> Tentukan teks papan kekunci. </td> <td width="260"> STF </td> </tr> <tr> <td width="137"> <var> </td> <td width="302"> Tentukan bahagian pembolehubah teks. </td> <td width="260"> STF </td> </tr> <tr> <td width="137"> <dfn> </td> <td width="302"> Tentukan item definisi. </td> <td width="260"> STF </td> </tr> <tr> <td width="137"> <samp> </td> <td width="302"> Tentukan sampel kod komputer. </td> <td width="260"> STF </td> </tr> <tr> <td width="137"> <xmp> </td> <td width="302"> Ditamatkan. Tentukan teks praformat. </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> Teg</strong></span></p> </td> <td width="303"> <p align="center"><span style="FONT-SIZE: 12px"><strong>Penerangan</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"><akronim></span></p> </td> <td width="303"> <p align="left"><span style="FONT-SIZE: 12px">Takrifkan singkatan dengan hanya huruf pertama. </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">Takrifkan singkatan. </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"><alamat></span></p> </td> <td width="303"> <p align="left"><span style="FONT-SIZE: 12px">Tentukan maklumat hubungan untuk pengarang atau pemilik dokumen. </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">Tentukan petikan blok. </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">Ditamatkan. Tentukan teks berpusat. </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">Tentukan petikan pendek. </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">Tentukan petikan. </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"><masuk></span></p> </td> <td width="303"> Definisi <p align="left"><span style="FONT-SIZE: 12px"> disisipkan ke dalam teks. </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">Tentukan teks yang dipadamkan. </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">Ditamatkan. Mentakrifkan teks coretan. </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"><serang></span></p> </td> <td width="303"> <p align="left"><span style="FONT-SIZE: 12px">Ditamatkan. Mentakrifkan teks coretan. </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>teg</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>Penerangan</strong> </p> </td> <td width="262"> <p align="center"><strong>DTD</strong> </p> </td> </tr> <tr> <td width="138"> <a> Tentukan sauh. </td> <td width="262"> STF </td> </tr> <tr> <td width="138"> <pautan> Tentukan hubungan antara dokumen dan sumber luaran. </td> <td width="262"> STF <table cellpadding="0" border="1"> <tbody> <tr> <td width="137"> <p align="center"><strong>teg</strong> </p> </td> <td width="307"> <p align="center"><strong>Penerangan</strong> </p> </td> <td width="258"> <p align="center"><strong>DTD</strong> </p> </td> </tr> <tr> <td width="137"> <bingkai> </td> <td width="307"> Tetingkap atau bingkai yang mentakrifkan set bingkai. </td> <td width="258"> F </td> </tr> <tr> <td width="137"> <frameset> </td> <td width="307"> Tentukan set bingkai. </td> <td width="258"> F </td> </tr> <tr> <td width="137"> <noframes> </td> <td width="307"> Tentukan kandungan alternatif untuk pengguna yang tidak menyokong bingkai. </td> <td width="258"> TF </td> </tr> <tr> <td width="137"> <iframe> </td> <td width="307"> Tentukan bingkai sebaris. </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> Teg</strong></span></p> </td> <td width="307"> <p align="center"><span style="FONT-SIZE: 12px"><strong>Penerangan</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"><bentuk></span></p> </td> <td width="307"> <p align="left"><span style="FONT-SIZE: 12px">Tentukan borang HTML untuk input pengguna. </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">Tentukan kawalan 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"><textarea></span></p> </td> <td width="307"> <p align="left"><span style="FONT-SIZE: 12px">Tentukan kawalan input teks berbilang baris. </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"><butang></span></p> </td> <td width="307"> <p align="left"><span style="FONT-SIZE: 12px">Butang takrif. </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"><pilih></span></p> </td> <td width="307"> <p align="left"><span style="FONT-SIZE: 12px">Tentukan senarai pilihan (senarai lungsur). </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"><kumpulan pilih></span></p> </td> <td width="307"> <p align="left"><span style="FONT-SIZE: 12px">Tentukan gabungan pilihan yang berkaitan dalam senarai pilihan. </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"><pilihan></span></p> </td> <td width="307"> <p align="left"><span style="FONT-SIZE: 12px">Tentukan pilihan dalam senarai pilih. </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">Tentukan anotasi elemen 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"><fieldset></span></p> </td> <td width="307"> <p align="left"><span style="FONT-SIZE: 12px">Tentukan sempadan di sekeliling elemen dalam bentuk. </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">Tentukan tajuk elemen set medan. </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">Ditamatkan. Mentakrifkan indeks boleh dicari yang dikaitkan dengan dokumen. </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>teg</strong> </p> <p align="center"><strong>Penerangan</strong> </p> </td> <td width="263"> <p align="center"><strong>DTD</strong> </p> </td> <td width="135"> <ul> Tentukan senarai tidak tertib. </td> <td width="263"> STF </td> <td width="135"> <ol> Tentukan senarai tersusun. </td> <td width="263"> STF </td> <td width="135"> <li> Tentukan item dalam senarai. </td> <td width="263"> STF </td> <td width="135"> <dir> Ditamatkan. Tentukan penyenaraian direktori. </td> <td width="263"> TF </td> <td width="135"> <dl> Tentukan senarai definisi. </td> <td width="263"> STF </td> <td width="135"> <dt> Tentukan item dalam senarai definisi. </td> <td width="263"> STF </td> <td width="135"> <dd> Tentukan perihalan item dalam senarai definisi. </td> <td width="263"> STF </td> <td width="135"> <menu> Ditamatkan. Tentukan senarai menu. </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"><peta></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"><kawasan></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"><kepala></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>Bild</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>Anzeige</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>Bild</strong></span> </p> </td> <td width="303"> <p align="center"><span style="FONT-SIZE: 12px"><strong>Anzeige</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>Bild</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>Anzeige</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>Kenyataan:</span><div>Kandungan artikel ini disumbangkan secara sukarela oleh netizen, dan hak cipta adalah milik pengarang asal. Laman web ini tidak memikul tanggungjawab undang-undang yang sepadan. Jika anda menemui sebarang kandungan yang disyaki plagiarisme atau pelanggaran, sila hubungi admin@php.cn</div></div></div><div class="nphpSytBox"><span>Artikel sebelumnya:<a class="dBlack" title="Paparan jadual kod warna heksadesimal warna dan paparan perbandingan berangka heksadesimal untuk carian mudah_HTML/Xhtml_Penghasilan halaman web" href="http://m.php.cn/ms/faq/11897.html">Paparan jadual kod warna heksadesimal warna dan paparan perbandingan berangka heksadesimal untuk carian mudah_HTML/Xhtml_Penghasilan halaman web</a></span><span>Artikel seterusnya:<a class="dBlack" title="Paparan jadual kod warna heksadesimal warna dan paparan perbandingan berangka heksadesimal untuk carian mudah_HTML/Xhtml_Penghasilan halaman web" href="http://m.php.cn/ms/faq/11899.html">Paparan jadual kod warna heksadesimal warna dan paparan perbandingan berangka heksadesimal untuk carian mudah_HTML/Xhtml_Penghasilan halaman web</a></span></div><div class="nphpSytBox2"><div class="nphpZbktTitle"><h2>Artikel berkaitan</h2><em><a href="http://m.php.cn/ms/article.html" class="bBlack"><i>Lihat lagi</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/ms/faq/348757.html" title="Html小知识总结" class="aBlack">Html小知识总结</a><div class="clear"></div></li><li><b></b><a href="http://m.php.cn/ms/faq/348804.html" title="如何快速学习HTML" class="aBlack">如何快速学习HTML</a><div class="clear"></div></li><li><b></b><a href="http://m.php.cn/ms/faq/348873.html" title="html xhtml xml的区别" class="aBlack">html xhtml xml的区别</a><div class="clear"></div></li><li><b></b><a href="http://m.php.cn/ms/faq/348884.html" title="src与href属性的区别" class="aBlack">src与href属性的区别</a><div class="clear"></div></li><li><b></b><a href="http://m.php.cn/ms/faq/348902.html" title="关于HTML5和CSS替换使用" class="aBlack">关于HTML5和CSS替换使用</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>Latihan PHP dalam talian kebajikan awam,Bantu pelajar PHP berkembang dengan cepat!</p></div><div class="footermid"><a href="http://m.php.cn/ms/about/us.html">Tentang kita</a><a href="http://m.php.cn/ms/about/disclaimer.html">Penafian</a><a href="http://m.php.cn/ms/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>