HTML DTD Summary

NO TAGS REQUIRED — Transitional

<!ELEMENT HTML (%html.content;) -- document root element --> <!ELEMENT HEAD (%head.content;) +(%head.misc;) -- document head --> <!ELEMENT BODY (%flow;)* +(INS|DEL) -- document body --> <!ELEMENT TBODY (TR)+ -- table body -->

ONLY FIRST TAGS REQUIRED — Transitional

<!ELEMENT META EMPTY -- generic metainformation --> <!ELEMENT LINK EMPTY -- a media-independent link --> <!ELEMENT BASE EMPTY -- document base URI --> <!ELEMENT BASEFONT EMPTY -- base font size --> <!ELEMENT ISINDEX EMPTY -- single line prompt --> <!ELEMENT BR EMPTY -- forced line break --> <!ELEMENT HR EMPTY -- horizontal rule --> <!ELEMENT IMG EMPTY -- Embedded image --> <!ELEMENT INPUT EMPTY -- form control --> <!ELEMENT AREA EMPTY -- client-side image map area --> <!ELEMENT COL EMPTY -- table column --> <!ELEMENT PARAM EMPTY -- named property value --> <!ELEMENT FRAME EMPTY -- subwindow --> <!ELEMENT P (%inline;)* -- paragraph --> <!ELEMENT LI (%flow;)* -- list item --> <!ELEMENT DT (%inline;)* -- definition term --> <!ELEMENT DD (%flow;)* -- definition description --> <!ELEMENT OPTION (#PCDATA) -- selectable choice --> <!ELEMENT THEAD (TR)+ -- table header --> <!ELEMENT TFOOT (TR)+ -- table footer --> <!ELEMENT TR (TH|TD)+ -- table row --> <!ELEMENT (TH|TD) (%flow;)* -- table header cell, table data cell--> <!ELEMENT COLGROUP (COL)* -- table column group -->

BOTH TAGS REQUIRED — Transitional

<!ELEMENT (%fontstyle;) (%inline;)* --> <!ELEMENT (%phrase;) (%inline;)* --> <!ELEMENT (SUB|SUP) (%inline;)* -- subscript, superscript --> <!ELEMENT SPAN (%inline;)* -- generic language/style container --> <!ELEMENT BDO (%inline;)* -- I18N BiDi over-ride --> <!ELEMENT FONT (%inline;)* -- local change to font --> <!ELEMENT ADDRESS ((%inline;)|P)* -- information on author --> <!ELEMENT DIV (%flow;)* -- generic language/style container --> <!ELEMENT CENTER (%flow;)* -- shorthand for DIV align=center --> <!ELEMENT A (%inline;)* -(A) -- anchor --> <!ELEMENT MAP ((%block;) | AREA)+ -- client-side image map --> <!ELEMENT OBJECT (PARAM | %flow;)* -- generic embedded object --> <!ELEMENT APPLET (PARAM | %flow;)* -- Java applet --> <!ELEMENT (%heading;) (%inline;)* -- heading --> <!ELEMENT PRE (%inline;)* -(%pre.exclusion;) -- preformatted text --> <!ELEMENT Q (%inline;)* -- short inline quotation --> <!ELEMENT BLOCKQUOTE (%flow;)* -- long quotation --> <!ELEMENT (INS|DEL) (%flow;)* -- inserted text, deleted text --> <!ELEMENT DL (DT|DD)+ -- definition list --> <!ELEMENT OL (LI)+ -- ordered list --> <!ELEMENT UL (LI)+ -- unordered list --> <!ELEMENT (DIR|MENU) (LI)+ -(%block;) -- directory list, menu list --> <!ELEMENT FORM (%flow;)* -(FORM) -- interactive form --> <!ELEMENT LABEL (%inline;)* -(LABEL) -- form field label text --> <!ELEMENT SELECT (OPTGROUP|OPTION)+ -- option selector --> <!ELEMENT OPTGROUP (OPTION)+ -- option group --> <!ELEMENT TEXTAREA (#PCDATA) -- multi-line text field --> <!ELEMENT FIELDSET (#PCDATA,LEGEND,(%flow;)*) -- form control group --> <!ELEMENT LEGEND (%inline;)* -- fieldset legend --> <!ELEMENT BUTTON (%flow;)* -(A|%formctrl;|FORM|FIELDSET|ISINDEX|IFRAME) -- push button --> <!ELEMENT TABLE (CAPTION?, (COL*|COLGROUP*), THEAD?, TFOOT?, TBODY+)> <!ELEMENT CAPTION (%inline;)* -- table caption --> <!ELEMENT FRAMESET ((FRAMESET|FRAME)+ & NOFRAMES?) -- window subdivision--> <!ELEMENT IFRAME (%flow;)* -- inline subwindow --> <!ELEMENT NOFRAMES %noframes.content; --> <!ELEMENT TITLE (#PCDATA) -(%head.misc;) -- document title --> <!ELEMENT STYLE %StyleSheet -- style info --> <!ELEMENT SCRIPT %Script; -- script statements --> <!ELEMENT NOSCRIPT (%flow;)* -- alternate content container -->

NO TAGS REQUIRED — Strict

<!ELEMENT HTML (%html.content;) -- document root element --> <!ELEMENT HEAD (%head.content;) +(%head.misc;) -- document head --> <!ELEMENT BODY (%block;|SCRIPT)+ +(INS|DEL) -- document body --> <!ELEMENT TBODY (TR)+ -- table body -->

ONLY FIRST TAGS REQUIRED — Strict

<!ELEMENT META EMPTY -- generic metainformation --> <!ELEMENT LINK EMPTY -- a media-independent link --> <!ELEMENT BASE EMPTY -- document base URI --> <!ELEMENT BR EMPTY -- forced line break --> <!ELEMENT HR EMPTY -- horizontal rule --> <!ELEMENT IMG EMPTY -- Embedded image --> <!ELEMENT INPUT EMPTY -- form control --> <!ELEMENT AREA EMPTY -- client-side image map area --> <!ELEMENT COL EMPTY -- table column --> <!ELEMENT PARAM EMPTY -- named property value --> <!ELEMENT P (%inline;)* -- paragraph --> <!ELEMENT LI (%flow;)* -- list item --> <!ELEMENT DT (%inline;)* -- definition term --> <!ELEMENT DD (%flow;)* -- definition description --> <!ELEMENT OPTION (#PCDATA) -- selectable choice --> <!ELEMENT THEAD (TR)+ -- table header --> <!ELEMENT TFOOT (TR)+ -- table footer --> <!ELEMENT TR (TH|TD)+ -- table row --> <!ELEMENT (TH|TD) (%flow;)* -- table header cell, table data cell--> <!ELEMENT COLGROUP (COL)* -- table column group -->

BOTH TAGS REQUIRED — Strict

<!ELEMENT (%fontstyle;) (%inline;)* --> <!ELEMENT (%phrase;) (%inline;)* --> <!ELEMENT (SUB|SUP) (%inline;)* -- subscript, superscript --> <!ELEMENT SPAN (%inline;)* -- generic language/style container --> <!ELEMENT BDO (%inline;)* -- I18N BiDi over-ride --> <!ELEMENT ADDRESS (%inline;)* -- information on author --> <!ELEMENT DIV (%flow;)* -- generic language/style container --> <!ELEMENT A (%inline;)* -(A) -- anchor --> <!ELEMENT MAP ((%block;) | AREA)+ -- client-side image map --> <!ELEMENT OBJECT (PARAM | %flow;)* -- generic embedded object --> <!ELEMENT (%heading;) (%inline;)* -- heading --> <!ELEMENT PRE (%inline;)* -(%pre.exclusion;) -- preformatted text --> <!ELEMENT Q (%inline;)* -- short inline quotation --> <!ELEMENT BLOCKQUOTE (%block;|SCRIPT)+ -- long quotation --> <!ELEMENT (INS|DEL) (%flow;)* -- inserted text, deleted text --> <!ELEMENT DL (DT|DD)+ -- definition list --> <!ELEMENT OL (LI)+ -- ordered list --> <!ELEMENT UL (LI)+ -- unordered list --> <!ELEMENT FORM (%block;|SCRIPT)+ -(FORM) -- interactive form --> <!ELEMENT LABEL (%inline;)* -(LABEL) -- form field label text --> <!ELEMENT SELECT (OPTGROUP|OPTION)+ -- option selector --> <!ELEMENT OPTGROUP (OPTION)+ -- option group --> <!ELEMENT TEXTAREA (#PCDATA) -- multi-line text field --> <!ELEMENT FIELDSET (#PCDATA,LEGEND,(%flow;)*) -- form control group --> <!ELEMENT LEGEND (%inline;)* -- fieldset legend --> <!ELEMENT BUTTON (%flow;)* -(A|%formctrl;|FORM|FIELDSET) -- push button --> <!ELEMENT TABLE (CAPTION?, (COL*|COLGROUP*), THEAD?, TFOOT?, TBODY+) > <!ELEMENT CAPTION (%inline;)* -- table caption --> <!ELEMENT TITLE (#PCDATA) -(%head.misc;) -- document title --> <!ELEMENT STYLE %StyleSheet -- style info --> <!ELEMENT SCRIPT %Script; -- script statements --> <!ELEMENT NOSCRIPT (%block;)+ -- alternate content container for non script-based rendering -->