ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
# HTML 元素和有效的 DTD ## HTML5/HTML 4.01/XHTML 元素和有效的 DTD 下面的表格列出了所有的 HTML5/HTML 4.01/XHTML 元素,以及它们会出现在什么文档类型 (DTD) 中: | 标签 | HTML5 | HTML 4.01 / XHTML 1.0 | XHTML 1.1 | | --- | --- | --- | --- | | Transitional | Strict | Frameset | | --- | --- | --- | | [<a>](/tags/tag_a.asp) | Yes | Yes | Yes | Yes | Yes | | [<abbr>](/tags/tag_abbr.asp) | Yes | Yes | Yes | Yes | Yes | | [<acronym>](/tags/tag_acronym.asp) | No | Yes | Yes | Yes | Yes | | [<address>](/tags/tag_address.asp) | Yes | Yes | Yes | Yes | Yes | | [<applet>](/tags/tag_applet.asp) | No | Yes | No | Yes | No | | [<area>](/tags/tag_area.asp) | Yes | Yes | Yes | Yes | No | | [<article>](/tags/tag_article.asp) | Yes | No | No | No | No | | [<aside>](/tags/tag_aside.asp) | Yes | No | No | No | No | | [<audio>](/tags/tag_audio.asp) | Yes | No | No | No | No | | [<b>](/tags/tag_b.asp) | Yes | Yes | Yes | Yes | Yes | | [<base>](/tags/tag_base.asp) | Yes | Yes | Yes | Yes | Yes | | [<basefont>](/tags/tag_basefont.asp) | No | Yes | No | Yes | No | | [<bdi>](/tags/tag_bdi.asp) | Yes | No | No | No | No | | [<bdo>](/tags/tag_bdo.asp) | Yes | Yes | Yes | Yes | No | | [<big>](/tags/tag_big.asp) | No | Yes | Yes | Yes | Yes | | [<blockquote>](/tags/tag_blockquote.asp) | Yes | Yes | Yes | Yes | Yes | | [<body>](/tags/tag_body.asp) | Yes | Yes | Yes | Yes | Yes | | [<br>](/tags/tag_br.asp) | Yes | Yes | Yes | Yes | Yes | | [<button>](/tags/tag_button.asp) | Yes | Yes | Yes | Yes | Yes | | [<canvas>](/tags/tag_canvas.asp) | Yes | No | No | No | No | | [<caption>](/tags/tag_caption.asp) | Yes | Yes | Yes | Yes | Yes | | [<center>](/tags/tag_center.asp) | No | Yes | No | Yes | No | | [<cite>](/tags/tag_cite.asp) | Yes | Yes | Yes | Yes | Yes | | [<code>](/tags/tag_phrase_elements.asp) | Yes | Yes | Yes | Yes | Yes | | [<col>](/tags/tag_col.asp) | Yes | Yes | Yes | Yes | No | | [<colgroup>](/tags/tag_colgroup.asp) | Yes | Yes | Yes | Yes | No | | [<command>](/tags/tag_command.asp) | Yes | No | No | No | No | | [<datalist>](/tags/tag_datalist.asp) | Yes | No | No | No | No | | [<dd>](/tags/tag_dd.asp) | Yes | Yes | Yes | Yes | Yes | | [<del>](/tags/tag_del.asp) | Yes | Yes | Yes | Yes | No | | [<details>](/tags/tag_details.asp) | Yes | No | No | No | No | | [<dfn>](/tags/tag_phrase_elements.asp) | Yes | Yes | Yes | Yes | Yes | | [<dir>](/tags/tag_dir.asp) | No | Yes | No | Yes | No | | [<div>](/tags/tag_div.asp) | Yes | Yes | Yes | Yes | Yes | | [<dl>](/tags/tag_dl.asp) | Yes | Yes | Yes | Yes | Yes | | [<dt>](/tags/tag_dt.asp) | Yes | Yes | Yes | Yes | Yes | | [<em>](/tags/tag_phrase_elements.asp) | Yes | Yes | Yes | Yes | Yes | | [<embed>](/tags/tag_embed.asp) | Yes | No | No | No | No | | [<fieldset>](/tags/tag_fieldset.asp) | Yes | Yes | Yes | Yes | Yes | | [<figcaption>](/tags/tag_figcaption.asp) | Yes | No | No | No | No | | [<figure>](/tags/tag_figure.asp) | Yes | No | No | No | No | | [<font>](/tags/tag_font.asp) | No | Yes | No | Yes | No | | [<footer>](/tags/tag_footer.asp) | Yes | No | No | No | No | | [<form>](/tags/tag_form.asp) | Yes | Yes | Yes | Yes | Yes | | [<frame>](/tags/tag_frame.asp) | No | No | No | Yes | No | | [<frameset>](/tags/tag_frameset.asp) | No | No | No | Yes | No | | [<head>](/tags/tag_head.asp) | Yes | Yes | Yes | Yes | Yes | | [<header>](/tags/tag_header.asp) | Yes | No | No | No | No | | [<h1> to <h6>](/tags/tag_hn.asp) | Yes | Yes | Yes | Yes | Yes | | [<hr>](/tags/tag_hr.asp) | Yes | Yes | Yes | Yes | Yes | | [<html>](/tags/tag_html.asp) | Yes | Yes | Yes | Yes | Yes | | [<i>](/tags/tag_i.asp) | Yes | Yes | Yes | Yes | Yes | | [<iframe>](/tags/tag_iframe.asp) | Yes | Yes | No | Yes | No | | [<img>](/tags/tag_img.asp) | Yes | Yes | Yes | Yes | Yes | | [<input>](/tags/tag_input.asp) | Yes | Yes | Yes | Yes | Yes | | [<ins>](/tags/tag_ins.asp) | Yes | Yes | Yes | Yes | No | | [<keygen>](/tags/tag_keygen.asp) | Yes | No | No | No | No | | [<kbd>](/tags/tag_phrase_elements.asp) | Yes | Yes | Yes | Yes | Yes | | [<label>](/tags/tag_label.asp) | Yes | Yes | Yes | Yes | Yes | | [<legend>](/tags/tag_legend.asp) | Yes | Yes | Yes | Yes | Yes | | [<li>](/tags/tag_li.asp) | Yes | Yes | Yes | Yes | Yes | | [<link>](/tags/tag_link.asp) | Yes | Yes | Yes | Yes | Yes | | [<map>](/tags/tag_map.asp) | Yes | Yes | Yes | Yes | No | | [<mark>](/tags/tag_mark.asp) | Yes | No | No | No | No | | [<menu>](/tags/tag_menu.asp) | Yes | Yes | No | Yes | No | | [<meta>](/tags/tag_meta.asp) | Yes | Yes | Yes | Yes | Yes | | [<meter>](/tags/tag_meter.asp) | Yes | No | No | No | No | | [<nav>](/tags/tag_nav.asp) | Yes | No | No | No | No | | [<noframes>](/tags/tag_noframes.asp) | No | Yes | No | Yes | No | | [<noscript>](/tags/tag_noscript.asp) | Yes | Yes | Yes | Yes | Yes | | [<object>](/tags/tag_object.asp) | Yes | Yes | Yes | Yes | Yes | | [<ol>](/tags/tag_ol.asp) | Yes | Yes | Yes | Yes | Yes | | [<optgroup>](/tags/tag_optgroup.asp) | Yes | Yes | Yes | Yes | Yes | | [<option>](/tags/tag_option.asp) | Yes | Yes | Yes | Yes | Yes | | [<output>](/tags/tag_output.asp) | Yes | No | No | No | No | | [<p>](/tags/tag_p.asp) | Yes | Yes | Yes | Yes | Yes | | [<param>](/tags/tag_param.asp) | Yes | Yes | Yes | Yes | Yes | | [<pre>](/tags/tag_pre.asp) | Yes | Yes | Yes | Yes | Yes | | [<progress>](/tags/tag_progress.asp) | Yes | No | No | No | No | | [<q>](/tags/tag_q.asp) | Yes | Yes | Yes | Yes | Yes | | [<rp>](/tags/tag_rp.asp) | Yes | No | No | No | No | | [<rt>](/tags/tag_rt.asp) | Yes | No | No | No | No | | [<ruby>](/tags/tag_ruby.asp) | Yes | No | No | No | No | | [<s>](/tags/tag_s.asp) | Yes | Yes | No | Yes | No | | [<samp>](/tags/tag_phrase_elements.asp) | Yes | Yes | Yes | Yes | Yes | | [<script>](/tags/tag_script.asp) | Yes | Yes | Yes | Yes | Yes | | [<section>](/tags/tag_section.asp) | Yes | No | No | No | No | | [<select>](/tags/tag_select.asp) | Yes | Yes | Yes | Yes | Yes | | [<small>](/tags/tag_small.asp) | Yes | Yes | Yes | Yes | Yes | | [<source>](/tags/tag_source.asp) | Yes | No | No | No | No | | [<span>](/tags/tag_span.asp) | Yes | Yes | Yes | Yes | Yes | | [<strike>](/tags/tag_strike.asp) | No | Yes | No | Yes | No | | [<strong>](/tags/tag_phrase_elements.asp) | Yes | Yes | Yes | Yes | Yes | | [<style>](/tags/tag_style.asp) | Yes | Yes | Yes | Yes | Yes | | [<sub>](/tags/tag_sup.asp) | Yes | Yes | Yes | Yes | Yes | | [<summary>](/tags/tag_summary.asp) | Yes | No | No | No | No | | [<sup>](/tags/tag_sup.asp) | Yes | Yes | Yes | Yes | Yes | | [<table>](/tags/tag_table.asp) | Yes | Yes | Yes | Yes | Yes | | [<tbody>](/tags/tag_tbody.asp) | Yes | Yes | Yes | Yes | No | | [<td>](/tags/tag_td.asp) | Yes | Yes | Yes | Yes | Yes | | [<textarea>](/tags/tag_textarea.asp) | Yes | Yes | Yes | Yes | Yes | | [<tfoot>](/tags/tag_tfoot.asp) | Yes | Yes | Yes | Yes | No | | [<th>](/tags/tag_th.asp) | Yes | Yes | Yes | Yes | Yes | | [<thead>](/tags/tag_thead.asp) | Yes | Yes | Yes | Yes | No | | [<time>](/tags/tag_time.asp) | Yes | No | No | No | No | | [<title>](/tags/tag_title.asp) | Yes | Yes | Yes | Yes | Yes | | [<tr>](/tags/tag_tr.asp) | Yes | Yes | Yes | Yes | Yes | | [<track>](/tags/tag_track.asp) | Yes | No | No | No | No | | [<tt>](/tags/tag_tt.asp) | No | Yes | Yes | Yes | Yes | | [<u>](/tags/tag_u.asp) | No | Yes | No | Yes | No | | [<ul>](/tags/tag_ul.asp) | Yes | Yes | Yes | Yes | Yes | | [<var>](/tags/tag_phrase_elements.asp) | Yes | Yes | Yes | Yes | Yes | | [<video>](/tags/tag_video.asp) | Yes | No | No | No | No | | [<wbr>](/tags/tag_wbr.asp) | Yes | No | No | No | No |