Click to return to the DHTML, HTML     
DIV Element | DIV Object     document Object     DHTML Objects    
Web Workshop  |  DHTML, HTML & CSS

DL Element | DL Object


Denotes a definition list.

HTML Syntax

<DL
    CLASS=classname
    COMPACT
    ID=value
    LANG=language
    LANGUAGE=JAVASCRIPT | JSCRIPT | VBSCRIPT  | VBS
    STYLE=css1-properties
    TITLE=text
    event = script
>

Remarks

The DL element is a block element and requires a closing tag.

This element is available in HTML as of Microsoft® Internet Explorer 3.0, and in script as of Internet Explorer 4.0.

Members

Styles

Example

This example uses the DL element with the DD and DT elements to create a definition list.

<DL>
<DT>Cat
<DD>A small domesticated mammal.
<DT>Lizard
<DD>A reptile generally found in dry areas.
</DL>


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.