Home >Web Front-end >HTML Tutorial >dl, dt, dd list tag examples_HTML/Xhtml_web page production

dl, dt, dd list tag examples_HTML/Xhtml_web page production

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-05-16 16:45:311825browse

dd and dt tags are used for lists.
We usually use the
    tag, but the dd and dt tags are also pretty good, especially when publishing a program, you can use it to typeset the list of functional modules.

    is used to create a normal list,
    is used to create the upper level item in the list,
    is used to create the lowest level item in the list,
    Both
    and
    must be placed between the
    tag pair. Take a look at the example below and you will understand:
    Create a normal list


      A normal list



      China City

      Beijing

      Shanghai

      Guangzhou

      American City

      Washington

      Chicago

      New York





      This example is displayed in the browser as follows: Chinese city
      Beijing
      Shanghai
      Guangzhou
      American city
      Washington
      Chicago
      New York
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