You are here:  NetStrider » Tutorials » HTMLRef » Commands » DL «

HTML Reference Guide

Author: Randy D. Ralph.   In place March 1, 1999.   Copyright © 1999 NetStrider.   Presented as a public service.

BACK <DL> Command next

Command Syntax:

<DL command parameters>
  <DT>Defined term(s)
  <DD>Data definition(s)
</DL>

Defines a definition list which includes both <DT> (defined term elements) and <DD> (data defnition elements).  Defined term elements are not indented.  Data definition elements are indented.

The only command parameter used with the definition list is compact.  This command parameter is used when the compact list style is desired or when the entire definition list is very large.  It reduces the font size used in most, but not all, browsers.

See also:  <DIR>, <OL>, <UL>

Example:
<DL compact>
  <DT>Some term to be defined.
  <DD>The definition of the term.
  . . .
</DL>

The <DL></DL> command tag pair enclose and define the definition list.  The definition list contains both <DT> (defined term) and <DD> (data definition) elements.  Defined terms are not indented.  Data definitions are indented.

Tip:   The definition list is useful for producing paragraphs with hanging indents, such as might
be found in reference lists or bibliographies.  This tip was formatted using a definition list.
Return to Section A:D


Return to the List of Commands
Author: Randy D. Ralph.  In place March 1, 1999.  Copyright © 1999 NetStrider.  World Rights reserved.




Hosted by uCoz