HTML and CSS Reference
In-Depth Information
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
compact This attribute reduces the white space between list items.
<dt> Cat </dt>
<dd> A domestic animal that likes fish. </dd>
<dt> Skunk </dt>
<dd> A wild animal that needs deodorant. </dd>
<!-- Terms definitions don't have to pair match -->
<dt> Cat </dt>
<dt> Fritz </dt>
<dt> Sylvester </dt>
<dd> A domestic animal that likes fish. </dd>
<dt> Skunk </dt>
<dt> Pepe Le Pew </dt>
<dd> A wild animal that needs deodorant. </dd>
<dt> Tasmanian Devil </dt>
HTML 2, 3.2, 4, 4.01, 5
XHTML 1.0, 1.1, Basic
Firefox 1+, Internet Explorer 2+,
Netscape 1+, Opera 2.1+, Safari 1+
• The items in the list comprise two parts: the term, indicated by the dt element, and
its definition, indicated by the dd element. However, there is no requirement to
match these elements, alternate them, or anything else, at least syntax-wise.
• Some page designers might use a <dl> tag or <ul> tag to create text indention.
Although this is a common practice on the Web, it is not advisable because it
confuses the meaning of the element by making it a physical layout device rather
than a list. A CSS property like margin or position should be used instead.
Search WWH ::

Custom Search