|
html <dl> <dt> <dd>is a combination tag, and if you use the outermost layer of dt dd, you must use dl wrapping, which we also call this combination tagTable labels, withtabletableSimilar to combination labels, we also call it DL tables (extended reading:table tr td、table tr th table layout)。 <dl><dt></dt><dd></dd></dl>It is a common title + list tag. If there is no initial dl dt dd tagCSSstyle, the default dd list content will be indented. (Read more: ul li, ol li, li list)
<dl> <dt>List title</dt> <dd>List contents</dd> <dd>List contents</dd> ... </dl> Syntax Explanation: First of all, dt and dd are placed in the DL tag, and the tags dt and dd are at the same level under DL. That is, dt cannot be put into dd, and dd cannot be put into dt. Under DL, DT is on the same label as DD. DD tags can be several. At the same time, the DT tag or DD tag cannot be used separately without DL.
|