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
Events Defined by Internet Explorer
onactivate, onbeforeactivate, onbeforecopy, onbeforecut, onbeforedeactivate,
onbeforeeditfocus, onbeforepaste, onblur, onclick, oncontextmenu,
oncontrolselect, oncopy, oncut, ondblclick, ondeactivate, ondrag,
ondragend, ondragenter, ondragleave, ondragover, ondragstart, ondrop,
onfocus, onfocusin, onfocusout, onhelp, onkeydown, onkeypress, onkeyup,
onlosecapture, onmousedown, onmouseenter, onmouseleave, onmousemove,
onmouseout, onmouseover, onmouseup, onmousewheel, onmove, onmoveend,
onmovestart, onpaste, onpropertychange, onreadystatechange, onresize,
onresizeend, onresizestart, onselectstart, ontimeerror
Element-Specific Attribute
nowrap This Internet Explorer-specific attribute is used to control the wrapping of text
within a <dt> tag. If set to yes , text should not wrap. The default is no . CSS properties
should be used instead of this attribute.
Examples
<!-- Typical definition list usage -->
<dl>
<dt> Vole </dt>
<dd> Small creature related to the weasel </dd>
<dt> Weasel </dt>
<dd> Small creature related to the vole </dd>
</dl>
<!-- HTML5 examples -->
<details>
<dt> Important Notes </dt>
<dd> This tag seems to be reused too much under HTML5! <dd>
</details>
<figure>
<dt> Moose Baby! </dt>
<dd>
<img src="desmond.jpg" alt="Desmond Baby" height="320" width="150">
<p> A photo of Desmond circa 2010. </p>
</dd>
</figure>
Search WWH ::




Custom Search