HTML Definition list elements
These three elements are designed for displaying a list of terms and the definition of each term. The
<dl> element defines the list,
<dt> contains each term in the list and
<dd> contains the definition of that term.
<dd>A green fruit</dd>
<dd>An orange fruit</dd>
<dd>A red vegetable</dd>
- A green coloured fruit
- An orange coloured fruit
- A red vegetable
The definition list elements have not been deprecated in HTML 4 but CSS gives more control over styling of lists and should be used in their place.
- CORE AND LANGUAGE ATTRIBUTES - class, id, title, style, dir, lang
- MOUSE AND KEYBOARD EVENT ATTRIBUTES - onclick, ondblclick, onmousedown, onmouseup, onmouseover, onmouseout, onmousemove, onkeydown, onkeyup, onkeypress