As the title says, the content model for <hgoup> allows for any number of <p> tags before and/or after a single heading tag (h1-h6).
The caninclude page for this comparison suggests that the only renderable content inside of an <hgroup> is the heading element (h1-h6). This is obviously wrong, since that would mean the <hgroup> literally has no purpose. If there is no subtitle content allowed, the purpose of the <hgroup> is defeated.
A quick look at the WHATWG section (4.3.7) on hgroup confirms this. It is made clear that the <p> tag is allowed.
Content model: Zero or more <p> elements, followed by one h1, h2, h3, h4, h5, or h6 element, followed by zero or more <p> elements, optionally intermixed with script-supporting elements.
The caninclude page for this should be updated to accurately include this information.
As the title says, the content model for
<hgoup>allows for any number of<p>tags before and/or after a single heading tag (h1-h6).The caninclude page for this comparison suggests that the only renderable content inside of an
<hgroup>is the heading element (h1-h6). This is obviously wrong, since that would mean the<hgroup>literally has no purpose. If there is no subtitle content allowed, the purpose of the<hgroup>is defeated.A quick look at the WHATWG section (4.3.7) on
hgroupconfirms this. It is made clear that the<p>tag is allowed.The caninclude page for this should be updated to accurately include this information.