1, definition:
<dl> <dt> <dd> is a combination of labels, using the DT DD outermost must use the DL package, this combination tag we also called the Table label, and table table similar to the combination of labels, so the name we also called DL table.
<dl><dt></dt><dd></dd></dl> is a common title + list-type label. If there is no initial CSS style for the DL DT DD tag, the default DD list content is bound to be indented.
2, Usage:
<dl>
<dt> List title </dt>
<dd> List Contents </dd>
<dd> List Contents </dd>
...
</dl>
First DT and DD are placed in the DL tag, and the label DT and DD are at the same level as the DL. That is, DT can not be placed in the DD, DD can not be placed inside dt. Under DL, DT and DD are in the same sibling label. DD tags can be several. At the same time, you cannot add DL to use DT label or DD label alone.
We practice using DL DT DD tags in most places, usually with headings, while the headings correspond to several lists that are simple (column headings + corresponding title lists) and headings corresponding to the contents below. <dl>
<dt> List title </dt>
<dd> List Contents </dd>
<dd> List Contents </dd>
...
</dl>
Syntax Explanation:
First DT and DD are placed in the DL tag, and the label DT and DD are at the same level as the DL. That is, DT can not be placed in the DD, DD can not be placed inside dt. Under DL, DT and DD are in the same sibling label. DD tags can be several. At the same time, you cannot add DL to use DT label or DD label alone.
DL and DT,DD, and table Tr,th,td most clearly analyzed