HTML and CSS Reference
In-Depth Information
<!-- Simple section header -->
<section>
<header>
<p>
It was a dark and story night...
</p>
<h1>
The Spooky Heading
</h1>
</header>
<p>
A fantastic story that is spooky would be found here.
If I weren't so busy writing HTML5 examples.
</p>
<footer>
<p><cite>
HTML: The Complete Reference
</cite>
© 2010
</p>
</footer>
</section>
Compatibility
HTML5
Not currently supported by any browser, but addressed with a custom element.
Notes
• Under HTML5, this element may be used for automatic document outlining.
• While this element is not yet supported, it is easily simulated by using a custom tag
or using a
<div>
tag with a special class.
<hgroup> (Header Group)
This HTML5 element represents a grouping of heading elements (
h1
-
h6
). It may be used to
cluster headings and subheadings together.
HTML5 Standard Syntax
<hgroup
accesskey="spaced list of accelerator key(s)"
class="class name(s)"
contenteditable="true | false | inherit"
contextmenu="id of menu"
data-X="user-defined data"
dir="ltr | rtl"
draggable="true | false | auto"
hidden="hidden"
id="unique alphanumeric identifier"
itemid="microdata id in URL format"
itemprop="microdata value"
itemref="space-separated list of IDs that may contain microdata"
itemscope="itemscope"
itemtype="microdata type in URL format"
lang="language code"
spellcheck="true | false"
style="style information"
tabindex="number"
title="advisory text">
</hgroup>