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.
DL defines the type of list
DD is the term
DL is the definition of the term
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:
Place the cursor in the location where you want to insert the list.
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.
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.
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.
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 .
Press on the OK button.
Example
|
Results |
<dl> <dd>definition
of term1...</dd> </dl> |
List heading Term1 Definition of term1... Term2 Definition of term2... Term3 Definition of term3...
|