HTML and CSS Reference
In-Depth Information
HTML5 Event Attributes
onabort, onblur, oncanplay, oncanplaythrough, onchange, onclick,
oncontextmenu, ondblclick, ondrag, ondragend, ondragenter, ondragleave,
ondragover, ondragstart, ondrop, ondurationchange, onemptied, onended,
onerror, onfocus, onformchange, onforminput, oninput, oninvalid, onkeydown,
onkeypress, onkeyup, onload, onloadeddata, onloadedmetadata, onloadstart,
onmousedown, onmousemove, onmouseout, onmouseover, onmouseup, onmousewheel,
onpause, onplay, onplaying, onprogress, onratechange, onreadystatechange,
onscroll, onseeked, onseeking, onselect, onshow, onstalled, onsubmit,
onsuspend, ontimeupdate, onvolumechange, onwaiting
Example
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title> hgroup Example </title>
</head>
<body>
<header>
<hgroup>
<h1> Welcome to the Example </h1>
<h2> Clearly the best example you've seen </h2>
</hgroup>
<nav>
<ul>
<li><a href="#"> Link </a></li>
<li><a href="#"> Link </a></li>
<li><a href="#"> Link </a></li>
<li><a href="#"> Link </a></li>
</ul>
</nav>
</header>
<hgroup>
<h1> Section head </h1>
<h2> A subhead </h2>
</hgroup>
<p> Ok here we go some content here. </p>
<p> More content goes here and here. </p>
<footer><p> &copy; 2010 Boring Examples, Inc. </p></footer>
</body>
</html>
Compatibility
HTML5 Not currently supported by any browser, but addressed with a custom element.
Search WWH ::




Custom Search