DD DT DL tag usage example_HTML/Xhtml_Web page production
- WBOYOriginal
- 2016-05-16 16:39:511567browse
We usually use the < ul>< li> tags, but the dd and dt tags are also pretty good, especially when publishing a program, you can use them to typeset the list of functional modules.
< /dl>< dt>< /dt>< dd>< /dd>
< /dl> is used to create a normal of a list, < dt>< /dt> is used to create the upper-level items in the list, < dd>< /dd> is used to create the lowest-level item in the list, < dt>< /dt> and < ; dd>< /dd> must be placed between the < dl>< /dl> flag pairs. Take a look at the example below and you will understand:
dl ——define list——define list
dt ——define list title——used to generate the title of each list item in the definition list, repeat Use a title that can define multiple list items.
dd - define list define - used to generate explanatory text fields for each list item in the definition list. Multiple explanatory text fields can be defined by repeated use. dd is a short explanation or solution corresponding to dt
Example:
- Today
- Today is yesterday.
- Tomorrow
- Tomorrow is today.
Example 2:
< ;title>Untitled Document
- Product name:
- [What a big one] worry Benefit: 15% off
- Product introduction:
- Product name Product name Product name Product name Product name Product name Product name Product name Product name Product name Product name Product name Product name Product name Product name Product name Product name Product name Product name Product name Product name Product name Product name Product name Product name... [Details]
- Store address:
- Product name
- Contact number:
- 0000-12345678 87654321
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn