This article is a mirror article of machine translation, please click here to jump to the original article.

View: 11634|Reply: 0

[HTML/HTML5] html dl dt dd tag element syntax structure and usage

[Copy link]
Posted on 2/2/2015 9:31:42 AM | | |
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 tdtable 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.





Previous:Linux Glibc Library Critical Security Vulnerability Fix Notice (Important)
Next:placeholder attribute in HTML5
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com