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
<p> This is the main point I am trying to make. </p>
<aside> This is an aside I don't really know how important it is to make,
but I love to make asides. </aside>
<p> Ok now back to the point I was making. </p>
Compatibility
HTML5 Not currently supported by any browser, but can be addressed with a custom element.
Notes
• This element is not yet directly implemented in any browser. However, given that
most browsers can handle custom elements, it is easy enough to simulate the idea of
it and even apply a CSS display property for it.
• This element will affect HTML5's outlining algorithm; see Chapter 2 for an example
of this scheme.
<audio> (Audio)
This HTML5 element includes audio in a document.
HTML5 Standard Syntax
<audio
accesskey="spaced list of accelerator key(s)"
autobuffer="autobuffer"
autoplay="autoplay"
class="class name(s)"
contenteditable="true | false | inherit"
contextmenu="id of menu"
controls="controls"
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"
Search WWH ::




Custom Search