HTML list

HTML List


HTML supports ordered, unordered and defined lists:

HTML List

First understand what are ordered lists and unordered lists?

Let’s first understand it through an example:


Ordered list

1. Beijing

2. Shanghai

3. Guangzhou

Unordered list

· Beijing

· Shanghai

· Guangzhou

HTML unordered list

An unordered list is a list of items marked with bold dots (typical small black circles) .

Unordered list uses

    tag

       
    
    • 北京
    • 上海
    • 广州

    HTML ordered list

    Similarly, ordered list is also A list of items labeled with numbers. The ordered list starts with the

      tag. Each list item begins with a
    1. tag.

      List items are marked with numbers.

         
      
      1. 北京
      2. 上海
      3. 广州

      HTML Custom List

      A custom list is not just a list of items, but a combination of items and their comments.

      Custom lists start with a

      tag. Each custom list item begins with
      . The definition of each custom list item begins with
      .

         
      
      北京
      政治中心
      上海
      经融中心


Continuing Learning
||
  1. 北京
  2. 上海
  3. 广州
submit Reset Code
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!