Home > Web Front-end > HTML Tutorial > Usage examples of html unordered list tags and ordered list tags_HTML/Xhtml_Web page production

Usage examples of html unordered list tags and ordered list tags_HTML/Xhtml_Web page production

WBOY
Release: 2016-05-16 16:38:19
Original
2597 people have browsed it

1. Upper and lower list tags:

..

Upper layer dt
Lower layer dd: The encapsulated content will be automatically indented


Copy code
The code is as follows:


< dt>Sports Outdoor
Sneakers

Basketball Shoes

Football Shoes

Running shoes


2. Define an ordered list:

    Attribute:
    type: You can set the sorting style (you can also add this attribute to li separately)
    1 means 1, 2, 3, 4.
    a means a, b, c, d represents
    A represents A, B, C, D
    i represents i, ii, iii represents
    I represents I, II, III
    start : List starting point
     

  1. : List content

    Copy code
    The code is as follows:


    1. Sneakers

    2. Basketball Shoes

    3. < ;li>Running shoes
    4. Football shoes


    3. Define unordered list:

      Attribute: type: You can set the sorting style or add this attribute to li separately
      dise solid circle (default value)
      circle hollow circle
      square solid square

    • : List content

      Copy code
      The code is as follows:


      • Sneakers

      • Basketball shoes

      • Running shoes

      • Football Shoes


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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template