Latest

recent

HTML dl tag

Example

A definition list:
<dl>
  <dt>Coffee</dt>
    <dd>- black hot drink</dd>
  <dt>Milk</dt>
    <dd>- white cold drink</dd>
</dl>


Definition and Usage

The <dl> tag defines a definition list.
The <dl> tag is used in conjunction with <dt> (defines the item in the list) and <dd> (describes the item in the list).

Browser Support

The <dl> tag is supported in all major browsers.


Differences Between HTML and XHTML

NONE

Standard Attributes

id, class, title, style, dir, lang, xml:lang

Event Attributes

onclick, ondblclick, onmousedown, onmouseup, onmouseover, onmousemove, onmouseout, onkeypress, onkeydown, onkeyup
HTML dl tag Reviewed by 1000sourcecodes on 05:01 Rating: 5
Powered by Blogger.