SGML

HTML5.1 DTD Reference

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

    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 for details
    including IMPORTANT SECURITY NOTES.

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

         https://www.w3.org/TR/2016/REC-html51-20161101/

    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.1//EN"
            "http://sgmljs.net/schemas/sgml-cms/w3c/html51.dtd">
        %html5dtd;

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


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

<!-- import entity set for HTML predefined entities
     (unless no_entities is 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 ARIA attributes
     (see notes on SVG and MathML for importing);
     this is using the current published ARIA attributes DTD
     as of WAI-ARIA 1.0 (https:/www.w3.org/TR/wai-aria/)
     normatively referenced by the HTML5.1 specification -->

<!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 "">
]]>

<!-- 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">

	<!-- SVG DTD customization to include vector-effect, tabindex,
	     and aria-attributes as required (section 4.7.19) -->
	<!ENTITY % SVG.External.attrib
		"vector-effect (non-scaling-stroke) #IMPLIED">
	<!ENTITY % SVG.Core.extra.attrib
	        "tabindex NUMBER #IMPLIED
	         %ariaattrs;">

	<!-- SVG DTD customization to exclude declaration of the
	     title and other elements (which will clash with same-named
	     HTML attributes) -->
	<!ENTITY % SVG.title.element "IGNORE">
	<!ENTITY % SVG.style.element "IGNORE">
	<!ENTITY % SVG.a.element "IGNORE">
	<!ENTITY % SVG.script.element "IGNORE">

	<!ENTITY % svgdtd
		PUBLIC "-//W3C//DTD SVG 1.1//EN"
		"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
	%svgdtd;

	<!-- HTML DTD customization to include the xlink:href
	     attribute on the a element and the xmlns:xlink
	     attribute on the svg element -->
	<!ENTITY % xlinkhrefattr "xlink:href CDATA #IMPLIED">
	<!ENTITY % xlinknsattr
		"xmlns:xlink CDATA #FIXED 'http://www.w3.org/1999/xlink'">
]]>
<!ENTITY % no_svg "INCLUDE">
<![ %no_svg; [
	<!ELEMENT svg - - ANY>
	<!ENTITY % xlinkhrefattr "">
	<!ENTITY % xlinknsattr "">
]]>

<!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>
]]>



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

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

<!-- Flow content (section 3.2.4.2.2).
     Note: the script element is not included in this namegroup. -->
<!ENTITY % flow "a|abbr|address|area|article|aside|audio|b|bdi|bdo|blockquote|br|button|canvas|cite|code|data|datalist|del|details|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|menu|meter|nav|noscript|object|ol|output|p|picture|pre|progress|q|ruby|s|samp|section|select|small|span|strong|sub|sup|svg|table|template|textarea|time|u|ul|var|video|wbr">

<!-- Flow content that is not also phrasing content. -->
<!ENTITY % flow_only "address|article|aside|blockquote|details|div|dl|fieldset|figure|footer|form|h1|h2|h3|h4|h5|h6|header|hr|main|menu|nav|ol|p|pre|section|table|ul">

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

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

<!-- Phrasing content (section 3.2.4.2.5).
     Note: the script element is not included in this namegroup. -->
<!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|picture|progress|q|ruby|s|samp|select|small|span|strong|sub|sup|svg|template|textarea|time|u|var|video|wbr">

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

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

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


<!--========== Global attributes ==========-->

<!-- Event handler content attributes (section 3.2.5) -->
<!ENTITY % eventhandlerattrs
 "onabort          CDATA             #IMPLIED          
  onblur           CDATA             #IMPLIED          
  oncancel         CDATA             #IMPLIED          
  oncanplay        CDATA             #IMPLIED          
  oncanplaythrough CDATA             #IMPLIED          
  onchange         CDATA             #IMPLIED          
  onclick          CDATA             #IMPLIED          
  onclose          CDATA             #IMPLIED          
  oncontextmenu    CDATA             #IMPLIED          
  oncopy           CDATA             #IMPLIED          
  oncuechange      CDATA             #IMPLIED          
  oncut            CDATA             #IMPLIED          
  ondblclick       CDATA             #IMPLIED          
  ondrag           CDATA             #IMPLIED          
  ondragend        CDATA             #IMPLIED          
  ondragenter      CDATA             #IMPLIED          
  ondragexit       CDATA             #IMPLIED          
  ondragleave      CDATA             #IMPLIED          
  ondragover       CDATA             #IMPLIED          
  ondragstart      CDATA             #IMPLIED          
  ondrop           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          
  onwheel          CDATA             #IMPLIED          
  onpaste          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 https://www.w3.org/TR/2016/REC-html51-20161101/, section 4.1)-->

<!-- The html element (section 4.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. An html element's end tag can be
     omitted if the html element is not immediately followed by a comment. -->
<!ELEMENT html O O (head,body) +(script)>
<!ATTLIST html
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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>         


<!--========== Document metadata ==========-->
<!--(see https://www.w3.org/TR/2016/REC-html51-20161101/, section 4.2)-->

<!-- The head element (section 4.2).
     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. A head
     element's end tag may be omitted if the head element is not immediately
     followed by a space character or a comment.
     Note: Not all model constraints are represented in this declaration. -->
<!ELEMENT head O O (%metadata;)*>
<!ATTLIST head
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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).
     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          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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).
     Content: Nothing.
     Tag omission: No end tag. -->
<!ELEMENT base - - EMPTY>
<!ATTLIST base
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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).
     Content: Nothing.
     Tag omission: No end tag. -->
<!ELEMENT link - - EMPTY>
<!ATTLIST link
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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          
  rev              NMTOKENS          #IMPLIED          
  media            CDATA             #IMPLIED          
  hreflang         CDATA             #IMPLIED          
  type             CDATA             #IMPLIED          
  sizes            CDATA             #IMPLIED>         

<!-- The meta element (section 4.2).
     Content: Nothing.
     Tag omission: No end tag. -->
<!ELEMENT meta - - EMPTY>
<!ATTLIST meta
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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).
     Content: Depends on the value of the type attribute, but must match
     requirements described in prose below.
     Tag omission: Neither tag is omissible.
     Note: Not all model constraints are represented in this declaration. -->
<!ELEMENT style - - CDATA>
<!ATTLIST style
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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          
  nonce            CDATA             #IMPLIED          
  type             CDATA             #IMPLIED>         


<!--========== Sections ==========-->
<!--(see https://www.w3.org/TR/2016/REC-html51-20161101/, section 4.3)-->

<!-- The body element (section 4.3).
     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. A body element's end
     tag may be omitted if the body element is not immediately followed by a
     comment. -->
<!ELEMENT body O O (#PCDATA|%flow;)*>
<!ATTLIST body
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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).
     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          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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).
     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          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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).
     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          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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).
     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          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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).
     Content: Phrasing content.
     Tag omission: Neither tag is omissible. -->
<!ELEMENT (h1|h2|h3|h4|h5|h6) - - (#PCDATA|%phrasing;)* -(%flow_only;)>
<!ATTLIST (h1|h2|h3|h4|h5|h6)
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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).
     Content: Flow content, but with no main element descendants, or header,
     footer elements that are not descendants of sectioning content which is a
     descendant of the header.
     Tag omission: Neither tag is omissible.
     Note: Not all model constraints are represented in this declaration. -->
<!ELEMENT header - - (#PCDATA|%flow;)* -(header|footer|main)>
<!ATTLIST header
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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).
     Content: Flow content, but with no main element descendants, or header,
     footer elements that are not descendants of sectioning content which is a
     descendant of the footer.
     Tag omission: Neither tag is omissible.
     Note: Not all model constraints are represented in this declaration. -->
<!ELEMENT footer - - (#PCDATA|%flow;)* -(header|footer|main)>
<!ATTLIST footer
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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).
     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          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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 https://www.w3.org/TR/2016/REC-html51-20161101/, section 4.4)-->

<!-- The p element (section 4.4).
     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, details,
     div, dl, fieldset, figcaption, figure, footer, form, h1, h2, h3, h4, h5,
     h6, header, hr, main, menu, 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 an HTML element that is not an a, audio, del, ins, map,
     noscript, or video element. -->
<!ELEMENT p - O (#PCDATA|%phrasing;)* -(%flow_only;)>
<!ATTLIST p
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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).
     Content: Nothing.
     Tag omission: No end tag. -->
<!ELEMENT hr - - EMPTY>
<!ATTLIST hr
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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).
     Content: Phrasing content.
     Tag omission: Neither tag is omissible. -->
<!ELEMENT pre - - (#PCDATA|%phrasing;)* -(%flow_only;)>
<!ATTLIST pre
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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).
     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          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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).
     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          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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).
     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          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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).
     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          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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            NUMBER            #IMPLIED          


<!-- The dl element (section 4.4).
     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          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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).
     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          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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).
     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          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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).
     Content: Flow content optionally including a figcaption child element.
     Tag omission: Neither tag is omissible. -->
<!ELEMENT figure - - (#PCDATA|%flow;)* +(figcaption)>
<!ATTLIST figure
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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).
     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          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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).
     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          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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).
     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          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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 https://www.w3.org/TR/2016/REC-html51-20161101/, section 4.5)-->

<!-- The a element (section 4.5).
     Content: Transparent, but there must be no interactive content or a element
     descendants.
     Tag omission: Neither tag is omissible.
     Note: Not all model constraints are represented in this declaration. -->
<!ELEMENT a - - ANY -(%interactive;)>
<!ATTLIST a
  %extensionattrs; 
  %xlinkhrefattr;  
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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          
  rev              NMTOKENS          #IMPLIED          
  hreflang         CDATA             #IMPLIED          
  type             CDATA             #IMPLIED>         

<!-- The em element (section 4.5).
     Content: Phrasing content.
     Tag omission: Neither tag is omissible. -->
<!ELEMENT em - - (#PCDATA|%phrasing;)* -(%flow_only;)>
<!ATTLIST em
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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).
     Content: Phrasing content.
     Tag omission: Neither tag is omissible. -->
<!ELEMENT strong - - (#PCDATA|%phrasing;)* -(%flow_only;)>
<!ATTLIST strong
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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).
     Content: Phrasing content.
     Tag omission: Neither tag is omissible. -->
<!ELEMENT small - - (#PCDATA|%phrasing;)* -(%flow_only;)>
<!ATTLIST small
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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).
     Content: Phrasing content.
     Tag omission: Neither tag is omissible. -->
<!ELEMENT s - - (#PCDATA|%phrasing;)* -(%flow_only;)>
<!ATTLIST s
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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).
     Content: Phrasing content.
     Tag omission: Neither tag is omissible. -->
<!ELEMENT cite - - (#PCDATA|%phrasing;)* -(%flow_only;)>
<!ATTLIST cite
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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).
     Content: Phrasing content.
     Tag omission: Neither tag is omissible. -->
<!ELEMENT q - - (#PCDATA|%phrasing;)* -(%flow_only;)>
<!ATTLIST q
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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).
     Content: Phrasing content, but there must be no dfn element descendants.
     Tag omission: Neither tag is omissible. -->
<!ELEMENT dfn - - (#PCDATA|%phrasing;)* -(dfn|%flow_only;)>
<!ATTLIST dfn
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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).
     Content: Phrasing content.
     Tag omission: Neither tag is omissible. -->
<!ELEMENT abbr - - (#PCDATA|%phrasing;)* -(%flow_only;)>
<!ATTLIST abbr
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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).
     Content: See prose.
     Tag omission: Neither tag is omissible. -->
<!ELEMENT ruby - - (((#PCDATA|%phrasing;|rb)+)|(((rt|rtc)&rp)+))+ -(%flow_only;)>
<!ATTLIST ruby
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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).
     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;)* -(%flow_only;)>
<!ATTLIST rb
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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).
     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;)* -(%flow_only;)>
<!ATTLIST rt
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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).
     Content: Phrasing content, rt, or rp elements.
     Tag omission: An rtc element's end tag may be omitted if the rtc element is
     immediately followed by an rb or rtc element, or if there is no more
     content in the parent element. -->
<!ELEMENT rtc - O (#PCDATA|%phrasing;|rt|rp)* -(%flow_only;)>
<!ATTLIST rtc
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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).
     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;)* -(%flow_only;)>
<!ATTLIST rp
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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).
     Content: Phrasing content.
     Tag omission: Neither tag is omissible. -->
<!ELEMENT data - - (#PCDATA|%phrasing;)* -(%flow_only;)>
<!ATTLIST data
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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).
     Content: If the element has a datetime attribute: Phrasing content.
     Otherwise: Text , but must match requirements described in prose below.
     Tag omission: Neither tag is omissible.
     Note: Not all model constraints are represented in this declaration. -->
<!ELEMENT time - - (#PCDATA|%phrasing;)* -(%flow_only;)>
<!ATTLIST time
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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).
     Content: Phrasing content.
     Tag omission: Neither tag is omissible. -->
<!ELEMENT code - - (#PCDATA|%phrasing;)* -(%flow_only;)>
<!ATTLIST code
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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).
     Content: Phrasing content.
     Tag omission: Neither tag is omissible. -->
<!ELEMENT var - - (#PCDATA|%phrasing;)* -(%flow_only;)>
<!ATTLIST var
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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).
     Content: Phrasing content.
     Tag omission: Neither tag is omissible. -->
<!ELEMENT samp - - (#PCDATA|%phrasing;)* -(%flow_only;)>
<!ATTLIST samp
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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).
     Content: Phrasing content.
     Tag omission: Neither tag is omissible. -->
<!ELEMENT kbd - - (#PCDATA|%phrasing;)* -(%flow_only;)>
<!ATTLIST kbd
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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).
     Content: Phrasing content.
     Tag omission: Neither tag is omissible. -->
<!ELEMENT (sub|sup) - - (#PCDATA|%phrasing;)* -(%flow_only;)>
<!ATTLIST (sub|sup)
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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).
     Content: Phrasing content.
     Tag omission: Neither tag is omissible. -->
<!ELEMENT i - - (#PCDATA|%phrasing;)* -(%flow_only;)>
<!ATTLIST i
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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).
     Content: Phrasing content.
     Tag omission: Neither tag is omissible. -->
<!ELEMENT b - - (#PCDATA|%phrasing;)* -(%flow_only;)>
<!ATTLIST b
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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).
     Content: Phrasing content.
     Tag omission: Neither tag is omissible. -->
<!ELEMENT u - - (#PCDATA|%phrasing;)* -(%flow_only;)>
<!ATTLIST u
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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).
     Content: Phrasing content.
     Tag omission: Neither tag is omissible. -->
<!ELEMENT mark - - (#PCDATA|%phrasing;)* -(%flow_only;)>
<!ATTLIST mark
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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).
     Content: Phrasing content.
     Tag omission: Neither tag is omissible. -->
<!ELEMENT bdi - - (#PCDATA|%phrasing;)* -(%flow_only;)>
<!ATTLIST bdi
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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).
     Content: Phrasing content.
     Tag omission: Neither tag is omissible. -->
<!ELEMENT bdo - - (#PCDATA|%phrasing;)* -(%flow_only;)>
<!ATTLIST bdo
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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).
     Content: Phrasing content.
     Tag omission: Neither tag is omissible. -->
<!ELEMENT span - - (#PCDATA|%phrasing;)* -(%flow_only;)>
<!ATTLIST span
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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).
     Content: Nothing.
     Tag omission: No end tag. -->
<!ELEMENT br - - EMPTY>
<!ATTLIST br
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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).
     Content: Nothing.
     Tag omission: No end tag. -->
<!ELEMENT wbr - - EMPTY>
<!ATTLIST wbr
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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 https://www.w3.org/TR/2016/REC-html51-20161101/, section 4.6)-->

<!-- The ins element (section 4.6).
     Content: Transparent.
     Tag omission: Neither tag is omissible.
     Note: Not all model constraints are represented in this declaration. -->
<!ELEMENT ins - - ANY>
<!ATTLIST ins
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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).
     Content: Transparent.
     Tag omission: Neither tag is omissible.
     Note: Not all model constraints are represented in this declaration. -->
<!ELEMENT del - - ANY>
<!ATTLIST del
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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 https://www.w3.org/TR/2016/REC-html51-20161101/, section 4.7)-->

<!-- The picture element (section 4.7).
     Content: Zero or more source elements, followed by one img element,
     optionally intermixed with script-supporting elements.
     Tag omission: Neither tag is omissible. -->
<!ELEMENT picture - - (source?,img) +(%scripting;)>
<!ATTLIST picture
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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 img element (section 4.7).
     Content: Nothing
     Tag omission: No end tag. -->
<!ELEMENT img - - EMPTY>
<!ATTLIST img
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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          
  srcset           CDATA             #IMPLIED          
  sizes            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).
     Content: Text that conforms to the requirements given in the prose.
     Tag omission: Neither tag is omissible. -->
<!ELEMENT iframe - - ANY -(head|body)>
<!ATTLIST iframe
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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          
  allowfullscreen  (allowfullscreen) #IMPLIED          
  width            CDATA             #IMPLIED          
  height           CDATA             #IMPLIED>         

<!-- The embed element (section 4.7).
     Content: Nothing.
     Tag omission: No end tag. -->
<!ELEMENT embed - - EMPTY>
<!ATTLIST embed
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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).
     Content: Zero or more param elements, then, transparent.
     Tag omission: Neither tag is omissible.
     Note: Not all model constraints are represented in this declaration. -->
<!ELEMENT object - - ANY>
<!ATTLIST object
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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          
  form             IDREF             #IMPLIED          
  width            CDATA             #IMPLIED          
  height           CDATA             #IMPLIED>         

<!-- The param element (section 4.7).
     Content: Nothing.
     Tag omission: No end tag. -->
<!ELEMENT param - - EMPTY>
<!ATTLIST param
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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).
     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.
     Note: Not all model constraints are represented in this declaration. -->
<!ELEMENT video - - ((track*|source*),(#PCDATA|%flow;)*) -(media)>
<!ATTLIST video
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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          
  loop             (loop)            #IMPLIED          
  muted            (muted)           #IMPLIED          
  controls         (controls)        #IMPLIED          
  width            CDATA             #IMPLIED          
  height           CDATA             #IMPLIED>         

<!-- The audio element (section 4.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.
     Note: Not all model constraints are represented in this declaration. -->
<!ELEMENT audio - - ((track*|source*),(#PCDATA|%flow;)*) -(media)>
<!ATTLIST audio
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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          
  loop             (loop)            #IMPLIED          
  muted            (muted)           #IMPLIED          
  controls         (controls)        #IMPLIED>         

<!-- The source element (section 4.7).
     Content: Nothing.
     Tag omission: No end tag. -->
<!ELEMENT source - - EMPTY>
<!ATTLIST source
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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).
     Content: Nothing.
     Tag omission: No end tag. -->
<!ELEMENT track - - EMPTY>
<!ATTLIST track
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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).
     Content: Transparent.
     Tag omission: Neither tag is omissible.
     Note: Not all model constraints are represented in this declaration. -->
<!ELEMENT map - - (#PCDATA|%flow;)*>
<!ATTLIST map
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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).
     Content: Nothing.
     Tag omission: No end tag. -->
<!ELEMENT area - - EMPTY>
<!ATTLIST area
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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           CDATA             #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 https://www.w3.org/TR/2016/REC-html51-20161101/, section 4.9)-->

<!-- The table element (section 4.9).
     Content: In this order: optionally a caption element, followed by zero or
     more colgroup elements, followed optionally by a thead element, followed by
     either zero or more tbody elements or one or more tr elements, followed
     optionally by a tfoot element, optionally intermixed with one or more
     script-supporting elements.
     Tag omission: Neither tag is omissible. -->
<!ELEMENT table - - (caption?,colgroup*,thead?,(tbody*|tr+),tfoot?) +(%scripting;)>
<!ATTLIST table
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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>         

<!-- The caption element (section 4.9).
     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          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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).
     Content: If the span attribute is present: Nothing.
     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.
     Note: Not all model constraints are represented in this declaration. -->
<!ELEMENT colgroup - - (col|template)*>
<!ATTLIST colgroup
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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).
     Content: Nothing.
     Tag omission: No end tag. -->
<!ELEMENT col - - EMPTY>
<!ATTLIST col
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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).
     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          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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).
     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          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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).
     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          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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).
     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          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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).
     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          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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).
     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          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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>         


<!--========== Forms ==========-->
<!--(see https://www.w3.org/TR/2016/REC-html51-20161101/, section 4.10)-->

<!-- The form element (section 4.1).
     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          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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   CDATA             #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.1).
     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.
     Note: Not all model constraints are represented in this declaration. -->
<!ELEMENT label - - (#PCDATA|%phrasing;)* -(label|%flow_only;)>
<!ATTLIST label
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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>         

<!-- The input element (section 4.1).
     Content: Nothing.
     Tag omission: No end tag. -->
<!ELEMENT input - - EMPTY>
<!ATTLIST input
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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.1).
     Content: Phrasing content, but there must be no interactive content
     descendant.
     Tag omission: Neither tag is omissible.
     Note: Not all model constraints are represented in this declaration. -->
<!ELEMENT button - - (#PCDATA|%phrasing;)* -(%interactive;)>
<!ATTLIST button
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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          
  menu             IDREF             #IMPLIED          
  name             CDATA             #IMPLIED          
  type             CDATA             #IMPLIED          
  value            CDATA             #IMPLIED>         

<!-- The select element (section 4.1).
     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          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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.1).
     Content: Either: phrasing content.
     Or: Zero or more option and script-supporting elements.
     Tag omission: Neither tag is omissible.
     Note: Only script is accepted as script-supporting element. -->
<!ELEMENT datalist - - ((#PCDATA|%phrasing;)*|(option|script)*) -(%flow_only;)>
<!ATTLIST datalist
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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.1).
     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          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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.1).
     Content: If the element has a label attribute and a value attribute:
     Nothing.
     If the element has a label attribute but no value attribute: Text.
     If the element has no label attribute: Text.
     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.
     Note: Not all model constraints are represented in this declaration. -->
<!ELEMENT option - - (#PCDATA)*>
<!ATTLIST option
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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.1).
     Content: Text.
     Tag omission: Neither tag is omissible. -->
<!ELEMENT textarea - - RCDATA>
<!ATTLIST textarea
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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.1).
     Content: Nothing.
     Tag omission: No end tag. -->
<!ELEMENT keygen - - EMPTY>
<!ATTLIST keygen
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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.1).
     Content: Phrasing content.
     Tag omission: Neither tag is omissible. -->
<!ELEMENT output - - (#PCDATA|%phrasing;)* -(%flow_only;)>
<!ATTLIST output
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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.1).
     Content: Phrasing content, but there must be no progress element
     descendants.
     Tag omission: Neither tag is omissible. -->
<!ELEMENT progress - - (#PCDATA|%phrasing;)* -(progress|%flow_only;)>
<!ATTLIST progress
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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.1).
     Content: Phrasing content, but there must be no meter element descendants.
     Tag omission: Neither tag is omissible. -->
<!ELEMENT meter - - (#PCDATA|%phrasing;)* -(meter|%flow_only;)>
<!ATTLIST meter
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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.1).
     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          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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.1).
     Content: Phrasing content.
     Tag omission: Neither tag is omissible. -->
<!ELEMENT legend - - (#PCDATA|%phrasing;)* -(%flow_only;)>
<!ATTLIST legend
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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>         


<!--========== Interactive elements ==========-->
<!--(see https://www.w3.org/TR/2016/REC-html51-20161101/, section 4.11)-->

<!-- The details element (section 4.1).
     Content: One summary element followed by flow content.
     Tag omission: Neither tag is omissible. -->
<!ELEMENT details - - (summary,(#PCDATA|%flow;))>
<!ATTLIST details
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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          
  open             (open)            #IMPLIED>         

<!-- The summary element (section 4.1).
     Content: Either: phrasing content.
     Or: one element of heading content.
     Tag omission: Neither tag is omissible. -->
<!ELEMENT summary - - ((#PCDATA|%phrasing;)+|(%heading;)) -(%flow_only;)>
<!ATTLIST summary
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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 menu element (section 4.1).
     Content: If the element's type attribute is in the popup menu state: in any
     order, zero or more menuitem elements, zero or more hr elements, zero or
     more menu elements whose type attributes are in the popup menu state, and
     zero or more script-supporting elements.
     Tag omission: Neither tag is omissible.
     Note: Not all model constraints are represented in this declaration. -->
<!ELEMENT menu - - (menuitem|hr|menu)* +(%scripting;)>
<!ATTLIST menu
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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          
  type             CDATA             #IMPLIED          
  label            CDATA             #IMPLIED>         

<!-- The menuitem element (section 4.1).
     Content: Nothing.
     Tag omission: No end tag. -->
<!ELEMENT menuitem - - EMPTY>
<!ATTLIST menuitem
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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          
  type             CDATA             #IMPLIED          
  label            CDATA             #IMPLIED          
  icon             CDATA             #IMPLIED          
  disabled         (disabled)        #IMPLIED          
  checked          (checked)         #IMPLIED          
  radiogroup       CDATA             #IMPLIED          
  default          (default)         #IMPLIED>         


<!--========== Scripting ==========-->
<!--(see https://www.w3.org/TR/2016/REC-html51-20161101/, section 4.12)-->

<!-- The script element (section 4.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.
     Note: Not all model constraints are represented in this declaration. -->
<!ELEMENT script - - CDATA>
<!ATTLIST script
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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          
  nonce            CDATA             #IMPLIED>         

<!-- The noscript element (section 4.1).
     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.
     Note: Not all model constraints are represented in this declaration. -->
<!ELEMENT noscript - - ANY>
<!ATTLIST noscript
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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.1).
     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.
     Or: The content model of details elements.
     Or: The content model of menu elements whose type attribute is in the popup
     menu state.
     Tag omission: Neither tag is omissible.
     Note: Not all model constraints are represented in this declaration. -->
<!ELEMENT template - - ANY>
<!ATTLIST template
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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.1).
     Content: Transparent.
     Tag omission: Neither tag is omissible.
     Note: Not all model constraints are represented in this declaration. -->
<!ELEMENT canvas - - ANY>
<!ATTLIST canvas
  %extensionattrs; 
  accesskey        NMTOKENS          #IMPLIED          
  class            NMTOKENS          #IMPLIED          
  contenteditable  (true|false)      #IMPLIED          
  contextmenu      IDREF             #IMPLIED          
  dir              (ltr|rtl|auto)    #IMPLIED          
  draggable        (true|false)      #IMPLIED          
  dropzone         NMTOKENS          #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>