Definition List <DL>

With the DL command you can have a list of terms with its definitions, that is, a list where each term is followed by a definition, like a glossary. The tags used are DL, DT and DD.

With CuteHTML Pro it is also possible to modify an existing list. To do so, select the list’s code and press on the Ordered list button.

These tag properties can be modified.

To insert a definition list in your document:

  1. Place the cursor in the location where you want to insert the list.

  2. In the Tables, frames and lists tab, click on the icon List definition . The Definition list dialog box is displayed and the Hierarchical dialog box is selected by default.

  3. Indicate the number of elements in the Elements box. You will see in the List content window a line for each element in the list.

  4. You can enter directly in the List content window the contents of each item in the list. Use the TAB key to shift between items.
    If you want to enter the list information directly in the edit window, enter the text to the right of the <DT> and <DD> tags.

  5. To can reduce the space occupied by the list by checking the Compact form box. This option adds the attribute COMPACT to the <DL> tag. This is an option for Netscape only bmp00006.gif.

  6. Press on the OK button.

Example:

Example

 

Results

<dl>
<dt>term1</dt>

<dd>definition of term1...</dd>
<dt>term2</dt>
<dd>
definition of term2...</dd>
<dt>term3</dt>
<dd> definition of term2...</dd>

</dl>

List heading

Term1

Definition of term1...  

Term2

Definition of term2...  

Term3

Definition of term3...