<hgroup> Tag Syntax
Rules for coding HTML hgroup
elements
<body> ... ... flow content expected ... <hgroup> <hn>... phrasing content ...</hn> ... </hgroup> ... </body>
- Inside an element where flow content is allowed, code one or more optional hgroup elements.
- Begin each hgroup element with a starting <hgroup> tag. The element name uses lower case letters and should be in the HTML namespace, which it will pick up automatically from the
xmlns
attribute on the <html> tag. - Include any HTML global attributes on the <hgroup> tag as appropriate.
- End the element with a matching
</hgroup>
closing tag. - Inside the heading element, code one or more HTML heading tags.
<aside> Content Model
Content of the <aside> Tag
The inner HTML of the hgroup element is restricted to HTML comments and only the HTML heading tags.