Skip to content

Commit f86c397

Browse files
committed
clarify allowed content of hgroup
response to whatwg#7829 (review)
1 parent 1065688 commit f86c397

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17081,7 +17081,7 @@ interface <dfn interface>HTMLHeadingElement</dfn> : <span>HTMLElement</span> {
1708117081
<dd>Where <span>heading content</span> is expected.</dd>
1708217082
<dt><span data-x="concept-element-content-model">Content model</span>:</dt>
1708317083
<dd>One <code>h1</code>, <code>h2</code>, <code>h3</code>, <code>h4</code>,
17084-
<code>h5</code>, <code>h6</code> element, optionally with one or more paragraphs of text,
17084+
<code>h5</code>, <code>h6</code> element, optionally with one or more <code>p</code> elements,
1708517085
optionally intermixed with <span>script-supporting elements</span>.</dd>
1708617086
<dt><span data-x="concept-element-attributes">Content attributes</span>:</dt>
1708717087
<dd><span>Global attributes</span></dd>
@@ -17095,7 +17095,7 @@ interface <dfn interface>HTMLHeadingElement</dfn> : <span>HTMLElement</span> {
1709517095

1709617096
<p>The <code>hgroup</code> element has no special meaning at all. It <span>represents</span> its children.
1709717097
The element may be used to group a <code>h1</code>&ndash;<code>h6</code> element, for styling purposes,
17098-
with one or more paragraphs of text representing its subheading, alternative title, or tagline.</p>
17098+
with one or more <code>p</code> elements containing text representing its subheading, alternative title, or tagline.</p>
1709917099

1710017100
<div class="example">
1710117101

0 commit comments

Comments
 (0)