HTML 4.01 要素一覧
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
Legend: Optional, Forbidden, Empty, Inline, Blocklevel, Flow, Required
| Name | Start | End | Empty | Description | B/I | Contain | required | |
|---|---|---|---|---|---|---|---|---|
| * | HTML | O | O | document root element | head, body | |||
| * | HEAD | O | O | document head | ||||
| * | META | F | E | generic metainformation | O | |||
| * | TITLE | document title | R | |||||
| * | BASE | F | E | document base URI | O | |||
| * | LINK | F | E | a media-independent link | O | |||
| * | STYLE | style info | ||||||
| * | BODY | O | O | document body | B | |||
| * | H1 | heading | B | I | ||||
| * | H2 | heading | B | I | ||||
| * | H3 | heading | B | I | ||||
| * | H4 | heading | B | I | ||||
| * | H5 | heading | B | I | ||||
| * | H6 | heading | B | I | ||||
| * | P | O | paragraph | B | I | |||
| * | ADDRESS | information on author | B | I | ||||
| * | DIV | generic language/style container | B | F | ||||
| * | SPAN | generic language/style container | I | I |
Legend: Optional, Forbidden, Empty, Inline, Blocklevel, Flow, Required
| Name | Start | End | Empty | Description | B/I | Contain | required | |
|---|---|---|---|---|---|---|---|---|
| * | ABBR | abbreviated form (e.g., WWW, HTTP,etc.)*4 | I | I | ||||
| * | ACRONYM | Indicates an acronym (e.g., WAC, radar, etc.). | I | I | ||||
| * | EM | emphasis | I | I | ||||
| * | STRONG | strong emphasis | I | I | ||||
| * | DFN | instance definition | I | I | ||||
| * | CODE | computer code fragment | I | I | ||||
| * | SAMP | sample program output, scripts,etc. | I | I | ||||
| * | KBD | text to be entered by the user | I | I | ||||
| * | VAR | instance of a variable or programargument | I | I | ||||
| * | CITE | citation | I | I | ||||
| * | Q | short inline quotation | I | I | ||||
| * | SUB | subscript*6 | I | I | ||||
| * | SUP | superscript*6 | I | I | ||||
| * | BLOCKQUOTE | long quotation | B | B | ||||
| * | PRE | preformatted text | B | I*2 | ||||
| * | DEL | deleted text | B | B*3 | ||||
| * | INS | inserted text | B | B*3 | ||||
| * | BR | F | E | forced line break | I |
Legend: Optional, Forbidden, Empty, Inline, Blocklevel, Flow, Required
| Name | Start | End | Empty | Description | B/I | Contain | required | |
|---|---|---|---|---|---|---|---|---|
| * | UL | unordered list | B | li | ||||
| * | OL | ordered list | B | li | ||||
| * | DL | definition list | B | dt, dd | ||||
| * | LI | O | list item | Lists | F | R*7 | ||
| * | DT | O | definition term | Lists | I | R*8 | ||
| * | DD | O | definition description | Lists | F | R*8 |
Legend: Optional, Forbidden, Empty, Inline, Blocklevel, Flow, Required
| Name | Start | End | Empty | Description | B/I | Contain | required | |
|---|---|---|---|---|---|---|---|---|
| IMG | F | E | Embedded image | I | ||||
| MAP | client-side image map | B, area | ||||||
| AREA | F | E | client-side image map area | |||||
| OBJECT | generic embedded object | I | param, F | |||||
| PARAM | F | E | named property value | |||||
| A | anchor | I | I |
Legend: Optional, Forbidden, Empty, Inline, Blocklevel, Flow, Required
| Name | Start | End | Empty | Description | B/I | Contain | required | |
|---|---|---|---|---|---|---|---|---|
| TABLE | B | *1 | ||||||
| CAPTION | table caption | Table | I | O | ||||
| COLGROUP | table column group | Table | col | |||||
| COL | F | E | table column | Table | ||||
| THEAD | O | table header | Table | tr | O | |||
| TFOOT | O | table footer | Table | tr | O | |||
| TBODY | O | O | table body | Table | tr | |||
| TR | O | table row | Table | th, td | ||||
| TH | O | table header cell | Table | F | ||||
| TD | O | table data cell | Table | F |
Legend: Optional, Forbidden, Empty, Inline, Blocklevel, Flow, Required
| Name | Start | End | Empty | Description | B/I | Contain | required | |
|---|---|---|---|---|---|---|---|---|
| FORM | interactive form | B | B | |||||
| FIELDSET | form control group | Form/B | F | |||||
| LEGEND | fieldset legend | Form | I | *4 | ||||
| INPUT | F | E | form control | Form/I | ||||
| BUTTON | push button | Form/I | F*5 | |||||
| SELECT | option selector | Form/I | *6 | |||||
| OPTGROUP | Form | option | ||||||
| OPTION | O | selectable choice | Form | TEXT | ||||
| TEXTAREA | multi-line text field | Form/I | TEXT | |||||
| LABEL | form field label text | Form/I |
Legend: Optional, Forbidden, Empty, Inline, Blocklevel, Flow, Required
| Name | Start | End | Empty | Description | B/I | Contain | required | |
|---|---|---|---|---|---|---|---|---|
| SCRIPT | script statements | SCRIPT | ||||||
| NOSCRIPT | alternate content container for non script-based rendering | B | ||||||
| HR | F | E | horizontal rule | B | ||||
| BDO | I18N BiDi over-ride | I | I |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
非推奨ではないがスタイルシートによる定義を推奨しているもの
Legend: Optional, Forbidden, Empty, Inline, Blocklevel, Flow, Required
| Name | Start | End | Empty | Description | B/I | Contain | required | |
|---|---|---|---|---|---|---|---|---|
| B | bold text style | I | ||||||
| BIG | large text style | I | ||||||
| I | italic text style | I | ||||||
| SMALL | small text style | I | ||||||
| TT | teletype or monospaced text style | I |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
URLを省略すると互換モードで表示される(場合が多い)
Legend: Optional, Forbidden, Empty, Inline, Blocklevel, Flow, Required
| Name | Start | End | Empty | Description | B/I | contain | required | |
|---|---|---|---|---|---|---|---|---|
| IFRAME | inline subwindow |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
URLを省略すると互換モードで表示される(場合が多い)
Legend: Optional, Forbidden, Empty, Inline, Blocklevel, Flow, Required
| Name | Start | End | Empty | Description | B/I | Contain | required | |
|---|---|---|---|---|---|---|---|---|
| APPLET | Java applet | |||||||
| BASEFONT | F | E | base font size | |||||
| CENTER | shorthand for DIV align=center | |||||||
| DIR | directory list | |||||||
| FONT | local change to font | |||||||
| ISINDEX | F | E | single line prompt | |||||
| MENU | menu list | |||||||
| S | strike-through text style | |||||||
| STRIKE | strike-through text | |||||||
| U | underlined text style |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
Legend: Optional, Forbidden, Empty, Inline, Blocklevel, Flow, Required
| Name | Start | End | Empty | Description | B/I | Contain | required | |
|---|---|---|---|---|---|---|---|---|
| FRAME | F | E | subwindow | |||||
| FRAMESET | window subdivision | |||||||
| NOFRAMES | alternate content container for non frame-based rendering |