SGML

HTML5 DTD Reference

<!--
    SGML DTD for parsing the W3C HTML5 markup language
    using the sgmljs.net SGML system
    v20230526

    Note this DTD is deprecated and provided for reference only;
    not all features discussed in the accompanying application
    notes are implemented; use the newer HTML5.1 DTD instead.

    This DTD was automatically generated from WHATWG materials
    but is not endorsed by WHATWG or W3C.

    The HTML5 specification imposes additional syntactic constraints
    that cannot be expressed by DTDs.

    The following HTML5 features are NOT represented:

    - entity sets for HTML5/HTML5.1 (these are represented as SGML
      predefined entities in the accompanying SGML declaration for
      HTML5 instead)
    - attribute defaults (like predefined entities, these are
      built-in features of web browsers and not desirable for
      inclusion in a DTD).

    See http://sgmljs.net/docs/html5.html for details
    including IMPORTANT SECURITY NOTES.

    The HTML syntax that this DTD is attempting to represent is
    following the markup language described at

         http://www.w3.org/TR/2014/REC-html5-20141028/

    or the equivalent WHATWG revision at

          https://html.spec.whatwg.org

    but there is ABSOLUTELY NO GUARANTEE OR WARRANTY of
    any kind that the targetted HTML syntax version is
    represented completely or correctly, nor of suitability
    for any purpose at all.

    Permission to use for any purpose is granted, provided
    that this notice is left intact.

    Typical Use:

        <!ENTITY % html5dtd
            PUBLIC "+IDN sgmljs.net/DTD W3C HTML5//EN"
            "http://sgmljs.net/schemas/sgml-cms/w3c/html5.dtd">
        %html5dtd;

    Please send feedback to u123724@gmail.com -->


<!--============ Preamble ============-->

<!-- import entity set for HTML predefined entities
     (unless no_entities has value "INCLUDE")  -->

<!ENTITY % no_entities "IGNORE">
<![ %no_entities; [
  <!ENTITY % if_entities "IGNORE">
]]>
<!ENTITY % if_entities "INCLUDE">
<![ %if_entities; [
  <!ENTITY % htmlmathml-f
          PUBLIC "-//W3C//ENTITIES HTML MathML Set//EN//XML"
          "http://www.w3.org/2003/entities/2007/htmlmathml-f.ent">
  %htmlmathml-f;
]]>

<!-- conditional import of the SVG and MathML DTDs;
     a declaration for the svg and math elements
     as having declared content ANY will
     be included if the if_svg and if_mathml parameter,
     resp., are undeclared; set if_svg and/or if_mathml
     to INCLUDE as invocation parameter to include the
     respective DTDs -->

<!ENTITY % if_svg "IGNORE">
<![ %if_svg; [
	<!ENTITY % no_svg "IGNORE">
	<!ENTITY % svgdtd
		PUBLIC "-//W3C//DTD SVG 1.1//EN"
		"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
	%svgdtd;
]]>
<!ENTITY % no_svg "INCLUDE">
<![ %no_svg; [
	<!ELEMENT svg - - ANY>
]]>

<!ENTITY % if_mathml "IGNORE">
<![ %if_mathml; [
	<!ENTITY % no_mathml "IGNORE">
	<!ENTITY % mathmldtd
		PUBLIC "-//W3C//DTD MathML 3.0//EN"
		"http://www.w3.org/Math/DTD/mathml3/mathml3.dtd">
	%mathmldtd;
]]>
<!ENTITY % no_mathml "INCLUDE">
<![ %no_mathml; [
	<!ELEMENT math - - ANY>
]]>


<!-- conditional import of ARIA attributes
     (see notes on SVG and MathML for importing);
     note this is using the last published
     ARIA attributes DTD from 2009 which is outdated -->

<!ENTITY % if_aria "IGNORE">
<![ %if_aria; [
	<!ENTITY % no_aria "IGNORE">
	<!ENTITY % ariamod
		PUBLIC "-//W3C//ENTITIES XHTML ARIA Attributes 1.0//EN"
		"http://www.w3.org/MarkUp/DTD/aria-attributes-1.mod">
		%ariamod;
	<!ENTITY % ariaattrs "%ARIA.attrib">
]]>
<!ENTITY % no_aria "INCLUDE">
<![ %no_aria; [
	<!ENTITY % ariaattrs "">
]]>


<!--========== Element categories ==========-->
<!--(elements can be contained in more than one category, or none at all)-->

<!-- Metadata content (section 3.2.4.1.1) -->
<!ENTITY % metadata "base|link|meta|noscript|script|style|template|title">

<!-- Flow content (section 3.2.4.1.2) -->
<!ENTITY % flow "a|abbr|address|area|article|aside|audio|b|bdi|bdo|blockquote|br|button|canvas|cite|code|data|datalist|del|dfn|div|dl|em|embed|fieldset|figure|footer|form|h1|h2|h3|h4|h5|h6|header|hr|i|iframe|img|input|ins|kbd|keygen|label|main|map|mark|math|meter|nav|noscript|object|ol|output|p|pre|progress|q|ruby|s|samp|script|section|select|small|span|strong|sub|sup|svg|table|template|textarea|time|u|ul|var|video|wbr">

<!-- Sectioning content (section 3.2.4.1.3) -->
<!ENTITY % sectioning "article|aside|nav|section">

<!-- Heading content (section 3.2.4.1.4) -->
<!ENTITY % heading "h1|h2|h3|h4|h5|h6">

<!-- Phrasing content (section 3.2.4.1.5) -->
<!ENTITY % phrasing "a|abbr|area|audio|b|bdi|bdo|br|button|canvas|cite|code|data|datalist|del|dfn|em|embed|i|iframe|img|input|ins|kbd|keygen|label|map|mark|math|meter|noscript|object|output|progress|q|ruby|s|samp|script|select|small|span|strong|sub|sup|svg|template|textarea|time|u|var|video|wbr">

<!-- Embedded content (section 3.2.4.1.6) -->
<!ENTITY % embedded "audio|canvas|embed|iframe|img|math|object|svg|video">

<!-- Interactive content (section 3.2.4.1.7) -->
<!ENTITY % interactive "a|audio|button|embed|iframe|img|input|keygen|label|object|select|textarea|video">

<!-- Palpable content (section 3.2.4.1.8) -->
<!ENTITY % palpable "a|abbr|address|article|aside|audio|b|bdi|bdo|blockquote|button|canvas|cite|code|data|dfn|div|dl|em|embed|fieldset|figure|footer|form|h1|h2|h3|h4|h5|h6|header|i|iframe|img|input|ins|kbd|keygen|label|main|map|mark|math|meter|nav|object|ol|output|p|pre|progress|q|ruby|s|samp|section|select|small|span|strong|sub|sup|svg|table|textarea|time|u|ul|var|video">

<!-- Script-supporting elements (section 3.2.4.1.9) -->
<!ENTITY % scripting "script|template">

<!-- Utility parameter entity containing all HTML elements -->
<!ENTITY % all "html|head|title|base|link|meta|style|body|article|section|nav|aside|h1|h2|h3|h4|h5|h6|header|footer|address|p|hr|pre|blockquote|ol|ul|li|dl|dt|dd|figure|figcaption|div|main|a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rb|rt|rtc|rp|bdi|bdo|span|br|wbr|ins|del|img|iframe|embed|object|param|video|audio|source|track|map|area|table|caption|colgroup|col|tbody|thead|tfoot|tr|td|th|form|label|input|button|select|datalist|optgroup|option|textarea|keygen|output|progress|meter|fieldset|legend|script|noscript|template|canvas">


<!--========== Common attributes ==========-->

<!-- Event handler attributes (section 6.1.5.2) -->
<!ENTITY % eventhandlerattrs
 "onabort          CDATA             #IMPLIED          
  onblur           CDATA             #IMPLIED          
  oncancel         CDATA             #IMPLIED          
  oncanplay        CDATA             #IMPLIED          
  oncanplaythrough CDATA             #IMPLIED          
  onchange         CDATA             #IMPLIED          
  onclick          CDATA             #IMPLIED          
  oncuechange      CDATA             #IMPLIED          
  ondblclick       CDATA             #IMPLIED          
  ondurationchange CDATA             #IMPLIED          
  onemptied        CDATA             #IMPLIED          
  onended          CDATA             #IMPLIED          
  onerror          CDATA             #IMPLIED          
  onfocus          CDATA             #IMPLIED          
  oninput          CDATA             #IMPLIED          
  oninvalid        CDATA             #IMPLIED          
  onkeydown        CDATA             #IMPLIED          
  onkeypress       CDATA             #IMPLIED          
  onkeyup          CDATA             #IMPLIED          
  onload           CDATA             #IMPLIED          
  onloadeddata     CDATA             #IMPLIED          
  onloadedmetadata CDATA             #IMPLIED          
  onloadstart      CDATA             #IMPLIED          
  onmousedown      CDATA             #IMPLIED          
  onmouseenter     CDATA             #IMPLIED          
  onmouseleave     CDATA             #IMPLIED          
  onmousemove      CDATA             #IMPLIED          
  onmouseout       CDATA             #IMPLIED          
  onmouseover      CDATA             #IMPLIED          
  onmouseup        CDATA             #IMPLIED          
  onmousewheel     CDATA             #IMPLIED          
  onpause          CDATA             #IMPLIED          
  onplay           CDATA             #IMPLIED          
  onplaying        CDATA             #IMPLIED          
  onprogress       CDATA             #IMPLIED          
  onratechange     CDATA             #IMPLIED          
  onreset          CDATA             #IMPLIED          
  onresize         CDATA             #IMPLIED          
  onscroll         CDATA             #IMPLIED          
  onseeked         CDATA             #IMPLIED          
  onseeking        CDATA             #IMPLIED          
  onselect         CDATA             #IMPLIED          
  onshow           CDATA             #IMPLIED          
  onstalled        CDATA             #IMPLIED          
  onsubmit         CDATA             #IMPLIED          
  onsuspend        CDATA             #IMPLIED          
  ontimeupdate     CDATA             #IMPLIED          
  ontoggle         CDATA             #IMPLIED          
  onvolumechange   CDATA             #IMPLIED          
  onwaiting        CDATA             #IMPLIED">        

<!-- Body event handler content attributes (section 6.1.5.2) -->
<!ENTITY % bodyeventhandlerattrs
 "onafterprint     CDATA             #IMPLIED          
  onbeforeprint    CDATA             #IMPLIED          
  onbeforeunload   CDATA             #IMPLIED          
  onhashchange     CDATA             #IMPLIED          
  onmessage        CDATA             #IMPLIED          
  onoffline        CDATA             #IMPLIED          
  ononline         CDATA             #IMPLIED          
  onpagehide       CDATA             #IMPLIED          
  onpageshow       CDATA             #IMPLIED          
  onpopstate       CDATA             #IMPLIED          
  onstorage        CDATA             #IMPLIED          
  onunload         CDATA             #IMPLIED">        

<!-- Parameter entity containing common attributes of all HTML elements 
     for reference in individual ATTLIST declarations -->
<!ENTITY % extensionattrs "%eventhandlerattrs; %ariaattrs;">


<!--========== The root element ==========-->
<!--(see http://www.w3.org/TR/2014/REC-html5-20141028/, section 4.1)-->

<!-- The html element (section 4.1.1).
     Content: A head element followed by a body element.
     Tag omission: An html element's start tag can be omitted if the first thing
     inside the html element is not a comment. -->
<!ELEMENT html O O (head?,body)>
<!ATTLIST html
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED          
  manifest         CDATA             #IMPLIED>         


<!--========== Document metadata ==========-->
<!--(see http://www.w3.org/TR/2014/REC-html5-20141028/, section 4.2)-->

<!-- The head element (section 4.2.1).
     Content: If the document is an iframe srcdoc document or if title
     information is available from a higher-level protocol: Zero or more
     elements of metadata content, of which no more than one is a title element
     and no more than one is a base element.
     Otherwise: One or more elements of metadata content, of which exactly one
     is a title element and no more than one is a base element.
     Tag omission: A head element's start tag may be omitted if the element is
     empty, or if the first thing inside the head element is an element. -->
<!ELEMENT head O O (%metadata;)*>
<!ATTLIST head
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED>         

<!-- The title element (section 4.2.2).
     Content: Text that is not inter-element whitespace.
     Tag omission: Neither tag is omissible. -->
<!ELEMENT title - - (#PCDATA)>
<!ATTLIST title
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED>         

<!-- The base element (section 4.2.3).
     Content: Empty.
     Tag omission: No end tag. -->
<!ELEMENT base - O EMPTY>
<!ATTLIST base
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED          
  href             CDATA             #IMPLIED          
  target           CDATA             #IMPLIED>         

<!-- The link element (section 4.2.4).
     Content: Empty.
     Tag omission: No end tag. -->
<!ELEMENT link - O EMPTY>
<!ATTLIST link
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED          
  href             CDATA             #IMPLIED          
  crossorigin      (anonymous|use-credentials) #IMPLIED          
  rel              NMTOKENS          #IMPLIED          
  media            CDATA             #IMPLIED          
  hreflang         CDATA             #IMPLIED          
  type             CDATA             #IMPLIED          
  sizes            NMTOKENS          #IMPLIED>         

<!-- The meta element (section 4.2.5).
     Content: Empty.
     Tag omission: No end tag. -->
<!ELEMENT meta - O EMPTY>
<!ATTLIST meta
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED          
  name             CDATA             #IMPLIED          
  http-equiv       CDATA             #IMPLIED          
  content          CDATA             #IMPLIED          
  charset          CDATA             #IMPLIED>         

<!-- The style element (section 4.2.6).
     Content: Depends on the value of the type attribute, but must match
     requirements described in prose below.
     Tag omission: Neither tag is omissible. -->
<!ELEMENT style - - CDATA>
<!ATTLIST style
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED          
  media            CDATA             #IMPLIED          
  type             CDATA             #IMPLIED>         


<!--========== Sections ==========-->
<!--(see http://www.w3.org/TR/2014/REC-html5-20141028/, section 4.3)-->

<!-- The body element (section 4.3.1).
     Content: Flow content.
     Tag omission: A body element's start tag may be omitted if the element is
     empty, or if the first thing inside the body element is not a space
     character or a comment, except if the first thing inside the body element
     is a meta, link, script, style, or template element. -->
<!ATTLIST body
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED          
  %bodyeventhandlerattrs;
  >                

<!-- The article element (section 4.3.2).
     Content: Flow content.
     Tag omission: Neither tag is omissible -->
<!ELEMENT article - - (#PCDATA|%flow;)*>
<!ATTLIST article
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED>         

<!-- The section element (section 4.3.3).
     Content: Flow content.
     Tag omission: Neither tag is omissible -->
<!ELEMENT section - - (#PCDATA|%flow;)*>
<!ATTLIST section
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED>         

<!-- The nav element (section 4.3.4).
     Content: Flow content, but with no main element descendants.
     Tag omission: Neither tag is omissible -->
<!ELEMENT nav - - (#PCDATA|%flow;)* -(main)>
<!ATTLIST nav
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED>         

<!-- The aside element (section 4.3.5).
     Content: Flow content, but with no main element descendants.
     Tag omission: Neither tag is omissible -->
<!ELEMENT aside - - (#PCDATA|%flow;)* -(main)>
<!ATTLIST aside
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED>         

<!-- The (h1|h2|h3|h4|h5|h6) element (section 4.3.6).
     Content: Phrasing content.
     Tag omission: Neither tag is omissible -->
<!ELEMENT (h1|h2|h3|h4|h5|h6) - - (#PCDATA|%phrasing;)*>
<!ATTLIST (h1|h2|h3|h4|h5|h6)
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED>         

<!-- The header element (section 4.3.7).
     Content: Flow content, but with no header, footer, or main element
     descendants.
     Tag omission: Neither tag is omissible -->
<!ELEMENT header - - (#PCDATA|%flow;)* -(header|footer|main)>
<!ATTLIST header
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED>         

<!-- The footer element (section 4.3.8).
     Content: Flow content, but with no header, footer, or main element
     descendants.
     Tag omission: Neither tag is omissible -->
<!ELEMENT footer - - (#PCDATA|%flow;)* -(header|footer|main)>
<!ATTLIST footer
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED>         

<!-- The address element (section 4.3.9).
     Content: Flow content, but with no heading content descendants, no
     sectioning content descendants, and no header, footer, or address element
     descendants.
     Tag omission: Neither tag is omissible -->
<!ELEMENT address - - (#PCDATA|%flow;)* -(%heading;|%sectioning;|header|footer|address)>
<!ATTLIST address
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED>         


<!--========== Grouping content ==========-->
<!--(see http://www.w3.org/TR/2014/REC-html5-20141028/, section 4.4)-->

<!-- The p element (section 4.4.1).
     Content: Phrasing content.
     Tag omission: A p element's end tag may be omitted if the p element is
     immediately followed by an address, article, aside, blockquote, div, dl,
     fieldset, footer, form, h1, h2, h3, h4, h5, h6, header, hgroup, hr, main,
     nav, ol, p, pre, section, table, or ul, element, or if there is no more
     content in the parent element and the parent element is not an a element. -->
<!ELEMENT p - O (#PCDATA|%phrasing;)*>
<!ATTLIST p
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED>         

<!-- The hr element (section 4.4.2).
     Content: Empty.
     Tag omission: No end tag. -->
<!ELEMENT hr - O EMPTY>
<!ATTLIST hr
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED>         

<!-- The pre element (section 4.4.3).
     Content: Phrasing content.
     Tag omission: Neither tag is omissible -->
<!ELEMENT pre - - (#PCDATA|%phrasing;)*>
<!ATTLIST pre
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED>         

<!-- The blockquote element (section 4.4.4).
     Content: Flow content.
     Tag omission: Neither tag is omissible -->
<!ELEMENT blockquote - - (#PCDATA|%flow;)*>
<!ATTLIST blockquote
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED          
  cite             CDATA             #IMPLIED>         

<!-- The ol element (section 4.4.5).
     Content: Zero or more li and script-supporting elements.
     Tag omission: Neither tag is omissible -->
<!ELEMENT ol - - (li)* +(%scripting;)>
<!ATTLIST ol
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED          
  reversed         (reversed)        #IMPLIED          
  start            NUMBER            #IMPLIED          
  type             CDATA             #IMPLIED>         

<!-- The ul element (section 4.4.6).
     Content: Zero or more li and script-supporting elements.
     Tag omission: Neither tag is omissible -->
<!ELEMENT ul - - (li)* +(%scripting;)>
<!ATTLIST ul
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED>         

<!-- The li element (section 4.4.7).
     Content: Flow content.
     Tag omission: An li element's end tag may be omitted if the li element is
     immediately followed by another li element or if there is no more content
     in the parent element. -->
<!ELEMENT li - O (#PCDATA|%flow;)*>
<!ATTLIST li
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED>         

<!-- The dl element (section 4.4.8).
     Content: Zero or more groups each consisting of one or more dt elements
     followed by one or more dd elements, optionally intermixed with
     script-supporting elements.
     Tag omission: Neither tag is omissible -->
<!ELEMENT dl - - (dt+,dd+)* +(%scripting)>
<!ATTLIST dl
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED>         

<!-- The dt element (section 4.4.9).
     Content: Flow content, but with no header, footer, sectioning content, or
     heading content descendants.
     Tag omission: A dt element's end tag may be omitted if the dt element is
     immediately followed by another dt element or a dd element. -->
<!ELEMENT dt - O (#PCDATA|%flow;)* -(%heading;|%sectioning;|header|footer)>
<!ATTLIST dt
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED>         

<!-- The dd element (section 4.4.10).
     Content: Flow content.
     Tag omission: A dd element's end tag may be omitted if the dd element is
     immediately followed by another dd element or a dt element, or if there is
     no more content in the parent element. -->
<!ELEMENT dd - O (#PCDATA|%flow;)*>
<!ATTLIST dd
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED>         

<!-- The figure element (section 4.4.11).
     Content: Either: One figcaption element followed by flow content.
     Or: Flow content followed by one figcaption element.
     Or: Flow content.
     Tag omission: Neither tag is omissible -->
<!ELEMENT figure - - (figcaption|#PCDATA|%flow;)*>
<!ATTLIST figure
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED>         

<!-- The figcaption element (section 4.4.12).
     Content: Flow content.
     Tag omission: Neither tag is omissible -->
<!ELEMENT figcaption - - (#PCDATA|%flow;)*>
<!ATTLIST figcaption
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED>         

<!-- The div element (section 4.4.13).
     Content: Flow content.
     Tag omission: Neither tag is omissible -->
<!ELEMENT div - - (#PCDATA|%flow;)*>
<!ATTLIST div
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED>         

<!-- The main element (section 4.4.14).
     Content: Flow content.
     Tag omission: Neither tag is omissible -->
<!ELEMENT main - - (#PCDATA|%flow;)*>
<!ATTLIST main
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED>         


<!--========== Text-level semantics ==========-->
<!--(see http://www.w3.org/TR/2014/REC-html5-20141028/, section 4.5)-->

<!-- The a element (section 4.5.1).
     Content: Transparent, but there must be no interactive content descendant.
     Tag omission: Neither tag is omissible -->
<!ELEMENT a - - ANY>
<!ATTLIST a
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED          
  href             CDATA             #IMPLIED          
  target           CDATA             #IMPLIED          
  download         CDATA             #IMPLIED          
  rel              NMTOKENS          #IMPLIED          
  hreflang         CDATA             #IMPLIED          
  type             CDATA             #IMPLIED>         

<!-- The em element (section 4.5.2).
     Content: Phrasing content.
     Tag omission: Neither tag is omissible -->
<!ELEMENT em - - (#PCDATA|%phrasing;)*>
<!ATTLIST em
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED>         

<!-- The strong element (section 4.5.3).
     Content: Phrasing content.
     Tag omission: Neither tag is omissible -->
<!ELEMENT strong - - (#PCDATA|%phrasing;)*>
<!ATTLIST strong
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED>         

<!-- The small element (section 4.5.4).
     Content: Phrasing content.
     Tag omission: Neither tag is omissible -->
<!ELEMENT small - - (#PCDATA|%phrasing;)*>
<!ATTLIST small
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED>         

<!-- The s element (section 4.5.5).
     Content: Phrasing content.
     Tag omission: Neither tag is omissible -->
<!ELEMENT s - - (#PCDATA|%phrasing;)*>
<!ATTLIST s
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED>         

<!-- The cite element (section 4.5.6).
     Content: Phrasing content.
     Tag omission: Neither tag is omissible -->
<!ELEMENT cite - - (#PCDATA|%phrasing;)*>
<!ATTLIST cite
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED>         

<!-- The q element (section 4.5.7).
     Content: Phrasing content.
     Tag omission: Neither tag is omissible -->
<!ELEMENT q - - (#PCDATA|%phrasing;)*>
<!ATTLIST q
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED          
  cite             CDATA             #IMPLIED>         

<!-- The dfn element (section 4.5.8).
     Content: Phrasing content, but there must be no dfn element descendants.
     Tag omission: Neither tag is omissible -->
<!ELEMENT dfn - - (#PCDATA|%phrasing;)* -(dfn)>
<!ATTLIST dfn
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED>         

<!-- The abbr element (section 4.5.9).
     Content: Phrasing content.
     Tag omission: Neither tag is omissible -->
<!ELEMENT abbr - - (#PCDATA|%phrasing;)*>
<!ATTLIST abbr
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED>         

<!-- The data element (section 4.5.10).
     Content: Phrasing content.
     Tag omission: Neither tag is omissible -->
<!ELEMENT data - - (#PCDATA|%phrasing;)*>
<!ATTLIST data
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED          
  value            CDATA             #IMPLIED>         

<!-- The time element (section 4.5.11).
     Content: Phrasing content.
     Tag omission: Neither tag is omissible -->
<!ELEMENT time - - (#PCDATA|%phrasing;)*>
<!ATTLIST time
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED          
  datetime         CDATA             #IMPLIED>         

<!-- The code element (section 4.5.12).
     Content: Phrasing content.
     Tag omission: Neither tag is omissible -->
<!ELEMENT code - - (#PCDATA|%phrasing;)*>
<!ATTLIST code
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED>         

<!-- The var element (section 4.5.13).
     Content: Phrasing content.
     Tag omission: Neither tag is omissible -->
<!ELEMENT var - - (#PCDATA|%phrasing;)*>
<!ATTLIST var
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED>         

<!-- The samp element (section 4.5.14).
     Content: Phrasing content.
     Tag omission: Neither tag is omissible -->
<!ELEMENT samp - - (#PCDATA|%phrasing;)*>
<!ATTLIST samp
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED>         

<!-- The kbd element (section 4.5.15).
     Content: Phrasing content.
     Tag omission: Neither tag is omissible -->
<!ELEMENT kbd - - (#PCDATA|%phrasing;)*>
<!ATTLIST kbd
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED>         

<!-- The (sub|sup) element (section 4.5.16).
     Content: Phrasing content.
     Tag omission: Neither tag is omissible -->
<!ELEMENT (sub|sup) - - (#PCDATA|%phrasing;)*>
<!ATTLIST (sub|sup)
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED>         

<!-- The i element (section 4.5.17).
     Content: Phrasing content.
     Tag omission: Neither tag is omissible -->
<!ELEMENT i - - (#PCDATA|%phrasing;)*>
<!ATTLIST i
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED>         

<!-- The b element (section 4.5.18).
     Content: Phrasing content.
     Tag omission: Neither tag is omissible -->
<!ELEMENT b - - (#PCDATA|%phrasing;)*>
<!ATTLIST b
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED>         

<!-- The u element (section 4.5.19).
     Content: Phrasing content.
     Tag omission: Neither tag is omissible -->
<!ELEMENT u - - (#PCDATA|%phrasing;)*>
<!ATTLIST u
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED>         

<!-- The mark element (section 4.5.20).
     Content: Phrasing content.
     Tag omission: Neither tag is omissible -->
<!ELEMENT mark - - (#PCDATA|%phrasing;)*>
<!ATTLIST mark
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED>         

<!-- The ruby element (section 4.5.21).
     Content: See prose.
     Tag omission: Neither tag is omissible -->
<!ELEMENT ruby - - (((#PCDATA|%phrasing;|rb)+)|(((rt|rtc)&rp)+))+>
<!ATTLIST ruby
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED>         

<!-- The rb element (section 4.5.22).
     Content: Phrasing content.
     Tag omission: An rb element's end tag may be omitted if the rb element is
     immediately followed by an rb, rt, rtc or rp element, or if there is no
     more content in the parent element. -->
<!ELEMENT rb - O (#PCDATA|%phrasing;)*>
<!ATTLIST rb
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED>         

<!-- The rt element (section 4.5.23).
     Content: Phrasing content.
     Tag omission: An rt element's end tag may be omitted if the rt element is
     immediately followed by an rb, rt, rtc or rp element, or if there is no
     more content in the parent element. -->
<!ELEMENT rt - O (#PCDATA|%phrasing;)*>
<!ATTLIST rt
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED>         

<!-- The rtc element (section 4.5.24).
     Content: Phrasing content or rt elements.
     Tag omission: An rtc element's end tag may be omitted if the rtc element is
     immediately followed by an rb, rtc or rp element, or if there is no more
     content in the parent element. -->
<!ELEMENT rtc - O (#PCDATA|%phrasing;)*>
<!ATTLIST rtc
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED>         

<!-- The rp element (section 4.5.25).
     Content: Phrasing content.
     Tag omission: An rp element's end tag may be omitted if the rp element is
     immediately followed by an rb, rt, rtc or rp element, or if there is no
     more content in the parent element. -->
<!ELEMENT rp - O (#PCDATA|%phrasing;)*>
<!ATTLIST rp
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED>         

<!-- The bdi element (section 4.5.26).
     Content: Phrasing content.
     Tag omission: Neither tag is omissible -->
<!ELEMENT bdi - - (#PCDATA|%phrasing;)*>
<!ATTLIST bdi
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED>         

<!-- The bdo element (section 4.5.27).
     Content: Phrasing content.
     Tag omission: Neither tag is omissible -->
<!ELEMENT bdo - - (#PCDATA|%phrasing;)*>
<!ATTLIST bdo
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED>         

<!-- The span element (section 4.5.28).
     Content: Phrasing content.
     Tag omission: Neither tag is omissible -->
<!ELEMENT span - - (#PCDATA|%phrasing;)*>
<!ATTLIST span
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED>         

<!-- The br element (section 4.5.29).
     Content: Empty.
     Tag omission: No end tag -->
<!ELEMENT br - O EMPTY>
<!ATTLIST br
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED>         

<!-- The wbr element (section 4.5.30).
     Content: Empty.
     Tag omission: No end tag -->
<!ELEMENT wbr - O EMPTY>
<!ATTLIST wbr
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED>         


<!--========== Edits ==========-->
<!--(see http://www.w3.org/TR/2014/REC-html5-20141028/, section 4.6)-->

<!-- The ins element (section 4.6.1).
     Content: Transparent.
     Tag omission: Neither tag is omissible -->
<!ELEMENT ins - - ANY>
<!ATTLIST ins
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED          
  cite             CDATA             #IMPLIED          
  datetime         CDATA             #IMPLIED>         

<!-- The del element (section 4.6.2).
     Content: Transparent.
     Tag omission: Neither tag is omissible -->
<!ELEMENT del - - ANY>
<!ATTLIST del
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED          
  cite             CDATA             #IMPLIED          
  datetime         CDATA             #IMPLIED>         


<!--========== Embedded content ==========-->
<!--(see http://www.w3.org/TR/2014/REC-html5-20141028/, section 4.7)-->

<!-- The img element (section 4.7.1).
     Content: Empty.
     Tag omission: No end tag. -->
<!ELEMENT img - O EMPTY>
<!ATTLIST img
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED          
  alt              CDATA             #IMPLIED          
  src              CDATA             #IMPLIED          
  crossorigin      (anonymous|use-credentials) #IMPLIED          
  usemap           CDATA             #IMPLIED          
  ismap            (ismap)           #IMPLIED          
  width            CDATA             #IMPLIED          
  height           CDATA             #IMPLIED>         

<!-- The iframe element (section 4.7.2).
     Content: Text that conforms to the requirements given in the prose.
     Tag omission: Neither tag is omissible -->
<!ELEMENT iframe - - CDATA>
<!ATTLIST iframe
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED          
  src              CDATA             #IMPLIED          
  srcdoc           CDATA             #IMPLIED          
  name             CDATA             #IMPLIED          
  sandbox          (allow-forms|allow-pointer-lock|allow-popups|allow-same-origin|allow-scripts|allow-top-navigation) #IMPLIED          
  width            CDATA             #IMPLIED          
  height           CDATA             #IMPLIED>         

<!-- The embed element (section 4.7.3).
     Content: Empty.
     Tag omission: No end tag -->
<!ELEMENT embed - O EMPTY>
<!ATTLIST embed
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED          
  src              CDATA             #IMPLIED          
  type             CDATA             #IMPLIED          
  width            CDATA             #IMPLIED          
  height           CDATA             #IMPLIED>         

<!-- The object element (section 4.7.4).
     Content: Zero or more param elements, then, transparent.
     Tag omission: Neither tag is omissible. -->
<!ELEMENT object - - ANY>
<!ATTLIST object
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED          
  data             CDATA             #IMPLIED          
  type             CDATA             #IMPLIED          
  typemustmatch    CDATA             #IMPLIED          
  name             CDATA             #IMPLIED          
  usemap           CDATA             #IMPLIED          
  form             IDREF             #IMPLIED          
  width            CDATA             #IMPLIED          
  height           CDATA             #IMPLIED>         

<!-- The param element (section 4.7.5).
     Content: Empty.
     Tag omission: No end tag -->
<!ELEMENT param - O EMPTY>
<!ATTLIST param
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED          
  name             CDATA             #IMPLIED          
  value            CDATA             #IMPLIED>         

<!-- The video element (section 4.7.6).
     Content: If the element has a src attribute: zero or more track elements,
     then transparent, but with no media element descendants.
     If the element does not have a src attribute: zero or more source elements,
     then zero or more track elements, then transparent, but with no media
     element descendants.
     Tag omission: Neither tag is omissible -->
<!ELEMENT video - - ANY>
<!ATTLIST video
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED          
  src              CDATA             #IMPLIED          
  crossorigin      (anonymous|use-credentials) #IMPLIED          
  poster           CDATA             #IMPLIED          
  preload          (none|metadata|auto) #IMPLIED          
  autoplay         (autoplay)        #IMPLIED          
  mediagroup       CDATA             #IMPLIED          
  loop             (loop)            #IMPLIED          
  muted            (muted)           #IMPLIED          
  controls         (controls)        #IMPLIED          
  width            CDATA             #IMPLIED          
  height           CDATA             #IMPLIED>         

<!-- The audio element (section 4.7.7).
     Content: If the element has a src attribute: zero or more track elements,
     then transparent, but with no media element descendants.
     If the element does not have a src attribute: zero or more source elements,
     then zero or more track elements, then transparent, but with no media
     element descendants.
     Tag omission: Neither tag is omissible -->
<!ELEMENT audio - - ANY>
<!ATTLIST audio
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED          
  src              CDATA             #IMPLIED          
  crossorigin      (anonymous|use-credentials) #IMPLIED          
  preload          (none|metadata|auto) #IMPLIED          
  autoplay         (autoplay)        #IMPLIED          
  mediagroup       CDATA             #IMPLIED          
  loop             (loop)            #IMPLIED          
  muted            (muted)           #IMPLIED          
  controls         (controls)        #IMPLIED>         

<!-- The source element (section 4.7.8).
     Content: Empty.
     Tag omission: No end tag -->
<!ELEMENT source - O EMPTY>
<!ATTLIST source
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED          
  src              CDATA             #IMPLIED          
  type             CDATA             #IMPLIED>         

<!-- The track element (section 4.7.9).
     Content: Empty.
     Tag omission: No end tag -->
<!ELEMENT track - O EMPTY>
<!ATTLIST track
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED          
  kind             (subtitles|captions|descriptions|chapters|metadata) #IMPLIED          
  src              CDATA             #IMPLIED          
  srclang          CDATA             #IMPLIED          
  label            CDATA             #IMPLIED          
  default          (default)         #IMPLIED>         

<!-- The map element (section 4.7.11).
     Content: Transparent.
     Tag omission: Neither tag is omissible -->
<!ELEMENT map - - ANY>
<!ATTLIST map
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED          
  name             CDATA             #IMPLIED>         

<!-- The area element (section 4.7.12).
     Content: Empty.
     Tag omission: No end tag -->
<!ELEMENT area - O EMPTY>
<!ATTLIST area
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED          
  alt              CDATA             #IMPLIED          
  coords           NUMBERS           #IMPLIED          
  download         CDATA             #IMPLIED          
  href             CDATA             #IMPLIED          
  hreflang         CDATA             #IMPLIED          
  rel              NMTOKENS          #IMPLIED          
  shape            (circle|default|poly|rect) #IMPLIED          
  target           CDATA             #IMPLIED          
  type             CDATA             #IMPLIED>         


<!--========== Tabular data ==========-->
<!--(see http://www.w3.org/TR/2014/REC-html5-20141028/, section 4.9)-->

<!-- The table element (section 4.9.1).
     Content: In this order: optionally a caption element, followed by zero or
     more colgroup elements, followed optionally by a thead element, followed
     optionally by a tfoot element, followed by either zero or more tbody
     elements or one or more tr elements, followed optionally by a tfoot element
     (but there can only be one tfoot element child in total), optionally
     intermixed with one or more script-supporting elements.
     Tag omission: Neither tag is omissible -->
<!ELEMENT table - - (caption?,colgroup*,thead?,((tfoot,(tbody*|tr+))|((tbody+|tr+),tfoot?))) +(%scripting;)>
<!ATTLIST table
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED          
  border           CDATA             #IMPLIED          
  sortable         (sortable)        #IMPLIED>         

<!-- The caption element (section 4.9.2).
     Content: Flow content, but with no descendant table elements.
     Tag omission: Neither tag is omissible -->
<!ELEMENT caption - - (#PCDATA|%flow;)+ -(table)>
<!ATTLIST caption
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED>         

<!-- The colgroup element (section 4.9.3).
     Content: If the span attribute is present: Empty.
     If the span attribute is absent: Zero or more col and template elements.
     Tag omission: A colgroup element's end tag may be omitted if the colgroup
     element is not immediately followed by a space character or a comment. A
     colgroup element's end tag may be omitted if the colgroup element is not
     immediately followed by a space character or a comment. -->
<!ELEMENT colgroup - - (col|template)*>
<!ATTLIST colgroup
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED          
  span             NUMBER            #IMPLIED>         

<!-- The col element (section 4.9.4).
     Content: Empty.
     Tag omission: No end tag. -->
<!ELEMENT col - O EMPTY>
<!ATTLIST col
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED          
  span             NUMBER            #IMPLIED>         

<!-- The tbody element (section 4.9.5).
     Content: Zero or more tr and script-supporting elements
     Tag omission: A tbody element's start tag may be omitted if the first thing
     inside the tbody element is a tr element, and if the element is not
     immediately preceded by a tbody, thead, or tfoot element whose end tag has
     been omitted. (It can't be omitted if the element is empty.). A tbody
     element's end tag may be omitted if the tbody element is immediately
     followed by a tbody or tfoot element, or if there is no more content in the
     parent element. -->
<!ELEMENT tbody O O (tr*) +(%scripting;)>
<!ATTLIST tbody
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED>         

<!-- The thead element (section 4.9.6).
     Content: Zero or more tr and script-supporting elements
     Tag omission: A thead element's end tag may be omitted if the thead element
     is immediately followed by a tbody or tfoot element. -->
<!ELEMENT thead - O (tr*) +(%scripting;)>
<!ATTLIST thead
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED>         

<!-- The tfoot element (section 4.9.7).
     Content: Zero or more tr and script-supporting elements
     Tag omission: A tfoot element's end tag may be omitted if the tfoot element
     is immediately followed by a tbody element, or if there is no more content
     in the parent element. -->
<!ELEMENT tfoot - O (tr*) +(%scripting;)>
<!ATTLIST tfoot
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED>         

<!-- The tr element (section 4.9.8).
     Content: Zero or more td, th, and script-supporting elements
     Tag omission: A tr element's end tag may be omitted if the tr element is
     immediately followed by another tr element, or if there is no more content
     in the parent element. -->
<!ELEMENT tr - O (td|th)* +(%scripting;)>
<!ATTLIST tr
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED>         

<!-- The td element (section 4.9.9).
     Content: Flow content.
     Tag omission: A td element's end tag may be omitted if the td element is
     immediately followed by a td or th element, or if there is no more content
     in the parent element. -->
<!ELEMENT td - O (#PCDATA|%flow;)*>
<!ATTLIST td
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED          
  colspan          NUMBER            #IMPLIED          
  rowspan          CDATA             #IMPLIED          
  headers          IDREFS            #IMPLIED>         

<!-- The th element (section 4.9.10).
     Content: Flow content, but with no header, footer, sectioning content, or
     heading content descendants.
     Tag omission: A th element's end tag may be omitted if the th element is
     immediately followed by a td or th element, or if there is no more content
     in the parent element. -->
<!ELEMENT th - O (#PCDATA|%flow;)* -(header|footer|%sectioning;|%heading;)>
<!ATTLIST th
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED          
  colspan          NUMBER            #IMPLIED          
  rowspan          CDATA             #IMPLIED          
  headers          IDREFS            #IMPLIED          
  scope            (row|col|rowgroup|colgroup) #IMPLIED          
  abbr             CDATA             #IMPLIED          
  sorted           (sorted)          #IMPLIED>         


<!--========== Forms ==========-->
<!--(see http://www.w3.org/TR/2014/REC-html5-20141028/, section 4.10)-->

<!-- The form element (section 4.10.3).
     Content: Flow content, but with no form element descendants.
     Tag omission: Neither tag is omissible. -->
<!ELEMENT form - - (#PCDATA|%flow;)* -(form)>
<!ATTLIST form
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED          
  accept-charset   NMTOKENS          #IMPLIED          
  action           CDATA             #IMPLIED          
  autocomplete     CDATA             #IMPLIED          
  enctype          CDATA             #IMPLIED          
  method           (GET|POST)        #IMPLIED          
  name             CDATA             #IMPLIED          
  novalidate       (novalidate)      #IMPLIED          
  target           CDATA             #IMPLIED>         

<!-- The label element (section 4.10.4).
     Content: Phrasing content, but with no descendant labelable elements unless
     it is the element's labeled control, and no descendant label elements.
     Tag omission: Neither tag is omissable -->
<!ELEMENT label - - (#PCDATA|%phrasing;)* -(label)>
<!ATTLIST label
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED          
  form             IDREF             #IMPLIED          
  for              IDREF             #IMPLIED>         

<!-- The input element (section 4.10.5).
     Content: Empty.
     Tag omission: No end tag -->
<!ELEMENT input - O EMPTY>
<!ATTLIST input
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED          
  accept           CDATA             #IMPLIED          
  alt              CDATA             #IMPLIED          
  autocomplete     CDATA             #IMPLIED          
  autofocus        (autofocus)       #IMPLIED          
  checked          (checked)         #IMPLIED          
  dirname          CDATA             #IMPLIED          
  disabled         (disabled)        #IMPLIED          
  form             IDREF             #IMPLIED          
  formaction       CDATA             #IMPLIED          
  formenctype      CDATA             #IMPLIED          
  formmethod       (GET|POST)        #IMPLIED          
  formnovalidate   (formnovalidate)  #IMPLIED          
  formtarget       CDATA             #IMPLIED          
  height           CDATA             #IMPLIED          
  inputmode        CDATA             #IMPLIED          
  list             IDREF             #IMPLIED          
  max              CDATA             #IMPLIED          
  maxlength        CDATA             #IMPLIED          
  min              CDATA             #IMPLIED          
  minlength        CDATA             #IMPLIED          
  multiple         (multiple)        #IMPLIED          
  name             CDATA             #IMPLIED          
  pattern          CDATA             #IMPLIED          
  placeholder      CDATA             #IMPLIED          
  readonly         (readonly)        #IMPLIED          
  required         (required)        #IMPLIED          
  size             NUMBER            #IMPLIED          
  src              CDATA             #IMPLIED          
  step             CDATA             #IMPLIED          
  type             CDATA             #IMPLIED          
  value            CDATA             #IMPLIED          
  width            CDATA             #IMPLIED>         

<!-- The button element (section 4.10.6).
     Content: Phrasing content, but there must be no interactive content
     descendant.
     Tag omission: Neither tag is omissible -->
<!ELEMENT button - - (#PCDATA|%phrasing;)* -(%interactive;)>
<!ATTLIST button
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED          
  autofocus        (autofocus)       #IMPLIED          
  disabled         (disabled)        #IMPLIED          
  form             IDREF             #IMPLIED          
  formaction       CDATA             #IMPLIED          
  formenctype      CDATA             #IMPLIED          
  formmethod       (GET|POST)        #IMPLIED          
  formnovalidate   (formnovalidate)  #IMPLIED          
  formtarget       CDATA             #IMPLIED          
  name             CDATA             #IMPLIED          
  type             CDATA             #IMPLIED          
  value            CDATA             #IMPLIED>         

<!-- The select element (section 4.10.7).
     Content: Zero or more option, optgroup, and script-supporting elements.
     Tag omission: Neither tag is omissible -->
<!ELEMENT select - - (option|optgroup)* +(%scripting;)>
<!ATTLIST select
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED          
  autofocus        (autofocus)       #IMPLIED          
  disabled         (disabled)        #IMPLIED          
  form             IDREF             #IMPLIED          
  multiple         (multiple)        #IMPLIED          
  name             CDATA             #IMPLIED          
  required         (required)        #IMPLIED          
  size             NUMBER            #IMPLIED>         

<!-- The datalist element (section 4.10.8).
     Content: Either: phrasing content (with zero or more option elements
     descendants).
     Or: Zero or more option elements.
     Tag omission: Neither tag is omissible -->
<!ELEMENT datalist - - (#PCDATA|%phrasing;)* +(option)>
<!ATTLIST datalist
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED>         

<!-- The optgroup element (section 4.10.9).
     Content: Zero or more option and script-supporting elements.
     Tag omission: An optgroup element's end tag may be omitted if the optgroup
     element is immediately followed by another optgroup element, or if there is
     no more content in the parent element. -->
<!ELEMENT optgroup - - (option*) +(%scripting;)>
<!ATTLIST optgroup
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED          
  disabled         (disabled)        #IMPLIED          
  label            CDATA             #IMPLIED>         

<!-- The option element (section 4.10.10).
     Content: If the element has a label attribute and a value attribute: Empty.
     If the element has a label attribute but no value attribute: Text.
     If the element has no label attribute: Text that is not inter-element
     whitespace.
     Tag omission: An option element's end tag may be omitted if the option
     element is immediately followed by another option element, or if it is
     immediately followed by an optgroup element, or if there is no more content
     in the parent element. -->
<!ELEMENT option - - (#PCDATA)>
<!ATTLIST option
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED          
  disabled         (disabled)        #IMPLIED          
  label            CDATA             #IMPLIED          
  selected         (selected)        #IMPLIED          
  value            CDATA             #IMPLIED>         

<!-- The textarea element (section 4.10.11).
     Content: Text.
     Tag omission: Neither tag is omissible -->
<!ELEMENT textarea - - (#PCDATA)>
<!ATTLIST textarea
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED          
  autocomplete     CDATA             #IMPLIED          
  autofocus        (autofocus)       #IMPLIED          
  cols             NUMBER            #IMPLIED          
  dirname          CDATA             #IMPLIED          
  disabled         (disabled)        #IMPLIED          
  form             IDREF             #IMPLIED          
  inputmode        CDATA             #IMPLIED          
  maxlength        CDATA             #IMPLIED          
  minlength        CDATA             #IMPLIED          
  name             CDATA             #IMPLIED          
  placeholder      CDATA             #IMPLIED          
  readonly         (readonly)        #IMPLIED          
  required         (required)        #IMPLIED          
  rows             NUMBER            #IMPLIED          
  wrap             (soft|hard)       #IMPLIED>         

<!-- The keygen element (section 4.10.12).
     Content: Empty.
     Tag omission: No end tag. -->
<!ELEMENT keygen - O EMPTY>
<!ATTLIST keygen
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED          
  autofocus        (autofocus)       #IMPLIED          
  challenge        CDATA             #IMPLIED          
  disabled         (disabled)        #IMPLIED          
  form             IDREF             #IMPLIED          
  keytype          CDATA             #IMPLIED          
  name             CDATA             #IMPLIED>         

<!-- The output element (section 4.10.13).
     Content: Phrasing content.
     Tag omission: Neither tag is omissible -->
<!ELEMENT output - - (#PCDATA|%phrasing;)*>
<!ATTLIST output
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED          
  for              IDREF             #IMPLIED          
  form             IDREF             #IMPLIED          
  name             CDATA             #IMPLIED>         

<!-- The progress element (section 4.10.14).
     Content: Phrasing content, but there must be no progress element
     descendants.
     Tag omission: Neither tag is omissible -->
<!ELEMENT progress - - (#PCDATA|%phrasing;)* -(progress)>
<!ATTLIST progress
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED          
  value            CDATA             #IMPLIED          
  max              CDATA             #IMPLIED>         

<!-- The meter element (section 4.10.15).
     Content: Phrasing content, but there must be no meter element descendants.
     Tag omission: Neither tag is omissible -->
<!ELEMENT meter - - (#PCDATA|%phrasing;)* -(meter)>
<!ATTLIST meter
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED          
  value            CDATA             #IMPLIED          
  min              CDATA             #IMPLIED          
  max              CDATA             #IMPLIED          
  low              CDATA             #IMPLIED          
  high             CDATA             #IMPLIED          
  optimum          CDATA             #IMPLIED>         

<!-- The fieldset element (section 4.10.16).
     Content: Optionally a legend element, followed by flow content.
     Tag omission: Neither tag is omissible -->
<!ELEMENT fieldset - - (legend?,(#PCDATA|%flow;)*)>
<!ATTLIST fieldset
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED          
  disabled         (disabled)        #IMPLIED          
  form             IDREF             #IMPLIED          
  name             CDATA             #IMPLIED>         

<!-- The legend element (section 4.10.17).
     Content: Phrasing content.
     Tag omission: Neither tag is omissible -->
<!ELEMENT legend - - (#PCDATA|%phrasing;)*>
<!ATTLIST legend
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED>         


<!--========== Scripting ==========-->
<!--(see http://www.w3.org/TR/2014/REC-html5-20141028/, section 4.11)-->

<!-- The script element (section 4.11.1).
     Content: If there is no src attribute, depends on the value of the type
     attribute, but must match script content restrictions.
     If there is a src attribute, the element must be either empty or contain
     only script documentation that also matches script content restrictions.
     Tag omission: Neither tag is omissible -->
<!ELEMENT script - - CDATA>
<!ATTLIST script
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED          
  src              CDATA             #IMPLIED          
  type             CDATA             #IMPLIED          
  charset          CDATA             #IMPLIED          
  async            (async)           #IMPLIED          
  defer            (defer)           #IMPLIED          
  crossorigin      (anonymous|use-credentials) #IMPLIED>         

<!-- The noscript element (section 4.11.2).
     Content: When scripting is disabled, in a head element: in any order, zero
     or more link elements, zero or more style elements, and zero or more meta
     elements.
     When scripting is disabled, not in a head element: transparent, but there
     must be no noscript element descendants.
     Otherwise: text that conforms to the requirements given in the prose.
     Tag omission: Neither tag is omissible -->
<!ELEMENT noscript - - ANY>
<!ATTLIST noscript
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED>         

<!-- The template element (section 4.11.3).
     Content: Either: Metadata content.
     Or: Flow content.
     Or: The content model of ol and ul elements.
     Or: The content model of dl elements.
     Or: The content model of figure elements.
     Or: The content model of ruby elements.
     Or: The content model of object elements.
     Or: The content model of video and audio elements.
     Or: The content model of table elements.
     Or: The content model of colgroup elements.
     Or: The content model of thead, tbody, and tfoot elements.
     Or: The content model of tr elements.
     Or: The content model of fieldset elements.
     Or: The content model of select elements.
     Tag omission: Neither tag is omissible -->
<!ELEMENT template - - ANY>
<!ATTLIST template
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED>         

<!-- The canvas element (section 4.11.4).
     Content: Transparent.
     Tag omission: Neither tag is omissible -->
<!ELEMENT canvas - - ANY>
<!ATTLIST canvas
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  hidden           (hidden)          #IMPLIED          
  id               ID                #IMPLIED          
  lang             NMTOKEN           #IMPLIED          
  spellcheck       (true|false)      #IMPLIED          
  style            CDATA             #IMPLIED          
  tabindex         NUMBER            #IMPLIED          
  title            CDATA             #IMPLIED          
  translate        (yes|no)          #IMPLIED          
  width            CDATA             #IMPLIED          
  height           CDATA             #IMPLIED>         

<!ELEMENT body O O (%flow;)* +(svg)>