HTML tag DL DT DD instructions

Time:2021-6-15

Basic structure:

Copy code

The code is as follows:

<dl>
<dt></dt>
<dd></dd>
</dl>

DL: definition list
DT: define title
DD: definition description
In DT, the title of the information is placed, and DD is the description of the brief summary of the information,
That is to say, a DT corresponds to a DD to describe it
The content in DD can be arbitrary, including pictures, text and even video or audio
Several similar DT and DD form a DL
Examples are as follows:

Copy code

The code is as follows:

<dl>
< DT > here is the title < / dt >
< DD > here is the content < / DD >
< DD > here is the content < / DD >
< DT > here is the title < / dt >
< DD > here is the content < / DD >
< DT > here is the title < / dt >
< DD > here is the content < / DD >
</dl>

Then DL DT DD is suitable for presentation, such as news list with summary, product list with thumbnail and other descriptions