HTML and CSS Reference
In-Depth Information
<dl>
Function Defines a definition list
class, compact, dir, id, lang, onClick,
onDblClick, onKeyDown, onKeyPress, onKeyUp,
onMouseDown, onMouseMove, onMouseOut,
onMouseOver, onMouseUp, style, title, type
Attributes
End tag
</dl> ; never omitted
Contains
dl_content
Used in
block
Unless you change the display attributes with stylesheet rules, browsers
typically render the item or term name at the left margin and render the
definition or explanation below it and indented. If the definition terms are
very short (typically less than three characters), the browser may choose
to place the first portion of the definition on the same line as the term.
See how the following source XHTML definition list gets displayed in Fig-
ure 7-8 :
Search WWH ::




Custom Search