-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Closed
Labels
clarificationStandard could be clearerStandard could be clearergood first issueIdeal for someone new to a WHATWG standard or software projectIdeal for someone new to a WHATWG standard or software project
Description
Reference URL:
https://html.spec.whatwg.org/multipage/semantics.html#the-hgroup-element
The spec doesn't make it clear whether or not I can add equivalent headings for content. I'm trying to do something to the effect of:
- List Title 1
- List Title 1 Alternative
- List
In theory, this should be doable with:
<hgroup>
<h1>List Title 1</h1>
<h1>List Title 1 Alternative</h1>
</hgroup>
<ul>[...]</ul>However, the only example utilizing the hgroup element in the spec shows how to create a subtitle, and the spec has this confusing text: "Other elements of heading content in the hgroup element indicate subheadings or subtitles". The quoted text indicates that the second h1 element might be considered a subtitle of the first h1 element.
Edits: I had to reformat the post with Markdown since HTML is apparently interpreted. I modified the phrasing of the last paragraph.
Metadata
Metadata
Assignees
Labels
clarificationStandard could be clearerStandard could be clearergood first issueIdeal for someone new to a WHATWG standard or software projectIdeal for someone new to a WHATWG standard or software project