" corresponds to each definition of the definition item, and the custom list is defined with "
"."> In html language, what are the three commonly used lists?-HTML Tutorial-php.cn

In html language, what are the three commonly used lists?

醉折花枝作酒筹
Release: 2023-01-06 11:16:15
Original
16636 people have browsed it

Commonly used lists are: 1. Ordered list, the items are included in the li tag pair, and are defined with ol; 2. Unordered list, the items are included in the li tag pair, and are defined with ul; 3. Self Defined list, items are included in dt tag pairs, "

" corresponds to each definition of the defined item, custom list is defined with "
".

In html language, what are the three commonly used lists?

The operating environment of this tutorial: Windows 7 system, CSS3&&HTML5 version, Dell G3 computer.

Ordered list, the list items are contained in the

  • tag pair, the ordered list is defined with
      , and there are numbers or letters indented before the items

      Paragraphs, line breaks, pictures, links, other lists, etc. can be used inside list items.

      For example:

      1. Coffee
      2. Milk
      Copy after login

      Effect:

      In html language, what are the three commonly used lists?

      Unordered list, the list items are contained in the

    1. tag In the center, the unordered list is defined with
        , and the items are indented

        Paragraphs, line breaks, pictures, links, other lists, etc. can be used inside the list items.

        For example:

        • Coffee
        • Milk
        Copy after login

        Effect:

        In html language, what are the three commonly used lists?

        Customized list, the list items are included in the

        tag In the center,
        each definition corresponding to the definition item, the custom list is defined with
        , and the item is preceded by a symbol indent

        list item Paragraphs, line breaks, pictures, links, other lists, etc. can be used internally.

        For example:

        Coffee
        Black hot drink
        Milk
        White cold drink
        Copy after login

        Effect:

        In html language, what are the three commonly used lists?

        ##Extension:

        List tag

        In html language, what are the three commonly used lists?

        Recommended learning:

        html video tutorial

        The above is the detailed content of In html language, what are the three commonly used lists?. For more information, please follow other related articles on the PHP Chinese website!

        Related labels:
        source:php.cn
        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 Downloads
        More>
        Web Effects
        Website Source Code
        Website Materials
        Front End Template
        About us Disclaimer Sitemap
        php.cn:Public welfare online PHP training,Help PHP learners grow quickly!