Home >Web Front-end >HTML Tutorial >How to use dl(dt,dd), ul(li), ol(li) in HTML_HTML/Xhtml_Webpage Production

How to use dl(dt,dd), ul(li), ol(li) in HTML_HTML/Xhtml_Webpage Production

WBOY
WBOYOriginal
2016-05-16 16:36:371869browse

HTML

tag

#Definition and usage

The

tag defines a definition list. The
tag is used to combine
(defines the item in the list) and
(describes the item in the list).

#Example

< dt>Computer

An instrument used for calculation... ...

Monitor

HTML
    tag

#Definition and usage

    tag defines an unordered list.

    #Example

    Unordered HTML list:
< li>Coffee
  • Tea
  • Milk
  • HTML

      tag

      #Definition and usage

        tag defines an ordered list.


        #Example

        Ordered HTML list:
        Copy code


        The code is as follows:


          < li>Coffee
        1. Tea
        2. Milk

        ul can be combined with ol to define menus and submenus

        < li>Content filtering

      1. Word filtering

        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
        Previous article:Summary of methods for including file content in html files_HTML/Xhtml_Web page productionNext article:Summary of methods for including file content in html files_HTML/Xhtml_Web page production

        Related articles

        See more