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
Release: 2016-05-16 16:36:37
Original
1858 people have browsed it

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

        Related labels:
        source:php.cn
        Previous article:Summary of methods for including file content in html files_HTML/Xhtml_Web page production Next article:Detailed graphic explanation of HTML cellpadding and cellspacing attributes_HTML/Xhtml_Web page production
        Statement of this Website
        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
        Latest Articles by Author
        Latest Issues
        Related Topics
        More>
        Popular Recommendations
        Popular Tutorials
        More>
        Latest Downloads
        More>
        Web Effects
        Website Source Code
        Website Materials
        Front End Template