HTML4 元素索引 Index of HTML 4 Elements
说明: Optional(可选的), Forbidden(禁止出现), Empty(空元素), Deprecated(不推荐使用), Loose DTD, Frameset DTD
| 元素名称 | 开标签 | 闭标签 | 空元素 | 不赞成 | DTD | 说明 |
|---|---|---|---|---|---|---|
| A | anchor:锚定 | |||||
| ABBR | abbreviated form:缩写 | |||||
| ACRONYM | acronym form:首字母缩写 | |||||
| ADDRESS | information on author:作者信息 | |||||
| APPLET | D | L | Java applet:Java小程序 | |||
| AREA | F | E | client-side image map area:客户端图像映射区域 | |||
| B | bold text style:粗体样式 | |||||
| BASE | F | E | document base URI:文档基准URI | |||
| BASEFONT | F | E | D | L | base font size:基准字体尺寸 | |
| BDO | I18N BiDi over-ride:I18N双向重定义 | |||||
| BIG | large text style:大字体样式 | |||||
| BLOCKQUOTE | long quotation:长引用 | |||||
| BODY | O | O | document body:文档主体 | |||
| BR | F | E | forced line break:强制换行 | |||
| BUTTON | push button:按钮 | |||||
| CAPTION | table caption:表格的标题 | |||||
| CENTER | D | L | shorthand for DIV align=center:DIV align=center的简便写法 | |||
| CITE | citation:引用 | |||||
| CODE | computer code fragment:计算机代码片段 | |||||
| COL | F | E | table column:表格的列 | |||
| COLGROUP | O | table column group:表格列编组 | ||||
| DD | O | definition description:定义列表的说明 | ||||
| DEL | deleted text:删除的文字 | |||||
| DFN | instance definition:(术语的)定义实例 | |||||
| DIR | D | L | directory list:目录列表 | |||
| DIV | generic language/style container:通用语言/样式容器 | |||||
| DL | definition list:定义列表 | |||||
| DT | O | definition term:定义术语 | ||||
| EM | emphasis:强调 | |||||
| FIELDSET | form control group:表单控件分组 | |||||
| FONT | D | L | local change to font:本地字体设置 | |||
| FORM | interactive form:交互式表单 | |||||
| FRAME | F | E | F | subwindow:子窗口 | ||
| FRAMESET | F | window subdivision:窗口分割 | ||||
| H1 | heading:(一级)标题 | |||||
| H2 | heading:(二级)标题 | |||||
| H3 | heading:(三级)标题 | |||||
| H4 | heading:(四级)标题 | |||||
| H5 | heading:(五级)标题 | |||||
| H6 | heading:(六级)标题 | |||||
| HEAD | O | O | document head:文档头部 | |||
| HR | F | E | horizontal rule:水平线 | |||
| HTML | O | O | document root element:文档根元素 | |||
| I | italic text style:斜体样式 | |||||
| IFRAME | L | inline subwindow:内嵌子窗口 | ||||
| IMG | F | E | Embedded image:嵌入图像 | |||
| INPUT | F | E | form control:表单控件 | |||
| INS | inserted text:插入文字 | |||||
| ISINDEX | F | E | D | L | single line prompt:单行提示输入框 | |
| KBD | text to be entered by the user:用户输入文字 | |||||
| LABEL | form field label text:表单域标签文字 | |||||
| LEGEND | fieldset legend:表单控件编组的标题 | |||||
| LI | O | list item:列表的项目 | ||||
| LINK | F | E | a media-independent link:与媒体无关的链接 | |||
| MAP | client-side image map:客户端图像映射 | |||||
| MENU | D | L | menu list:菜单列表 | |||
| META | F | E | generic metainformation:通用元信息 | |||
| NOFRAMES | F | alternate content container for non frame-based rendering:不支持框架显示的替换内容 | ||||
| NOSCRIPT | alternate content container for non script-based rendering:不支持脚本显示的替换内容 | |||||
| OBJECT | generic embedded object:通用嵌入对象 | |||||
| OL | ordered list:有序列表 | |||||
| OPTGROUP | option group:选项组 | |||||
| OPTION | O | selectable choice:选择列表的项目 | ||||
| P | O | paragraph:段落 | ||||
| PARAM | F | E | named property value:命名的参数值 | |||
| PRE | preformatted text:预格式文本 | |||||
| Q | short inline quotation:短(行内)引用 | |||||
| S | D | L | strike-through text style:删除线文本 | |||
| SAMP | sample program output, scripts,etc.:程序代码输出范例 | |||||
| SCRIPT | script statements:脚本语句 | |||||
| SELECT | option selector:选列列表 | |||||
| SMALL | small text style:小字体样式 | |||||
| SPAN | generic language/style container:通用语言/样式容器 | |||||
| STRIKE | D | L | strike-through text:删除线文本 | |||
| STRONG | strong emphasis:加强强调 | |||||
| STYLE | style info:样式信息 | |||||
| SUB | subscript:下标 | |||||
| SUP | superscript:上标 | |||||
| TABLE | HTML表格 | |||||
| TBODY | O | O | table body:表格主体 | |||
| TD | O | table data cell:表格单元格 | ||||
| TEXTAREA | multi-line text field:多行文本域 | |||||
| TFOOT | O | table footer:表格页脚 | ||||
| TH | O | table header cell:表格标题单元格 | ||||
| THEAD | O | table header:表格页头 | ||||
| TITLE | document title:文档标题 | |||||
| TR | O | table row:表格行 | ||||
| TT | teletype or monospaced text style:打字机或等宽文本样式 | |||||
| U | D | L | underlined text style:下划线文字 | |||
| UL | unordered list:无序列表 | |||||
| VAR | instance of a variable or program argument:变量或程序片段的实例 |
说明:IE表示Internet Explorer,-IE表示除IE以外的浏览器,SF表示Apple Safari
| 元素名 | 闭标签 | 空元素 | 浏览器支持 | 说明 |
|---|---|---|---|---|
| BGSOUND | 禁止 | 是 | IE | 背景音乐/声音 |
| BLINK | 必需 | 否 | -IE | 闪烁(点灭效果)文字 |
| COMMENT | 必需 | 否 | IE | HTML文档注释 |
| EMBED | 必需 | 否 | All | 内嵌对象 |
| MARQUEE | 必需 | 否 | All | 跑马灯 |
| NOBR | 必需 | 否 | All | 禁止换行 |
| PLAINTEXT | All | 普通文本,忽略HTML标记 | ||
| WBR | 禁止 | 是 | IE、SF | 可以换行 |
| XMP | 必需 | 否 | All | 程序范例文本,忽略HTML标记 |
说明:IE表示Internet Explorer
| 元素名 | DTD | 浏览器支持 | 说明 |
|---|---|---|---|
| RB | XHTML1.1 | IE | 注音标注的对象 |
| RP | XHTML1.1 | IE | 注音标注无法对应时显示的括号 |
| RT | XHTML1.1 | IE | 注音标注文字 |
| RUBY | XHTML1.1 | IE | 注音标注元素 |