HTML and CSS Reference
In-Depth Information
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
<details onclick="this.open='open';">
<dt> Help? </dt>
<dd>
<p> This could give you help with HTML5 but we need more implementations to
prove how things will work. </p>
</dd>
</details>
Compatibility
HTML5 Not currently supported by any browser, but addressed with a custom element.
Notes
• This element may contain one dt element describing the caption of the detailed
content, and one dd element, which contains the content to show.
• In early drafts of HTML5 specification, the legend element was used instead of the
dt and dd elements added later.
<dfn> (Definition)
This inline logical element encloses the defining instance of a term. It usually is rendered as
bold or bold italic text.
Standard Syntax
<dfn
class="class name(s)"
dir="ltr | rtl"
id="unique alphanumeric identifier"
lang="language code"
style="style information"
title="advisory text">
</dfn>
Attributes Introduced by HTML5
accesskey="spaced list of accelerator key(s)"
contenteditable="true | false | inherit"
contextmenu="id of menu"
data-X="user-defined data"
draggable="true | false | auto"
hidden="hidden"
itemid="microdata id in URL format"
itemprop="microdata value"
Search WWH ::




Custom Search