DL DT DD Label usage

Source: Internet
Author: User

In general, we usually only use the ul and Li tags when doing the list, as for the DL generally rarely used, it also belongs to the label of the list class, the following is the approximate usage:

The <dl> tag defines a definition list in which entries are defined by using the <dt> tag ("definition title", defining the title) and the <dd> tag ("Definition description"). Definition description) created. <dt> gives the definition of terminology in terms of name,<dd>.

That is, <dt> is used to create the top-level items in the list,<dd> use to create the lowest-level items in the list,<dt> and <dd> must be placed between <dl></dl> logo pairs.

<dl>
<dt>国内电视台</dt>
   <dd>北京电视台</dd>
   <dd>上海电视台</dd>
   <dd>江西电视台</dd>
   <dd>浙江电视台</dd>
</dl>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.