HTML and CSS Reference
In-Depth Information
HTML 4 Event Attributes
onclick, ondblclick, onkeydown, onkeypress, onkeyup, onmousedown,
onmousemove, onmouseout, onmouseover, onmouseup
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 Attributes
compact This attribute indicates that the list should be rendered in a compact style. Few
browsers actually change the rendering of the list, regardless of the presence of this
attribute. The compact attribute requires no value unless it is used with XML-style syntax,
where it takes the value of compact .
type The type attribute is used to set the bullet style for the list. The values defined under
HTML 3.2 and the transitional version of HTML and XHTML are circle , disc , and
square . A user agent might decide to use a different bullet depending on the nesting level
of the list, unless the type attribute is used. The type attribute is dropped under the strict
versions of HTML 4 and XHTML because style sheets can provide richer bullet control
using the list-style-type and list-style-image properties.
Examples
<ul compact="compact" title="Sushi Short List" type="circle">
<li> Maguro </li>
<li> Ebi </li>
<li> Hamachi </li>
</ul>
<!-- Correct list nesting -->
Search WWH ::




Custom Search