A Brief Introduction to the ordered list and unordered list of html, and a brief introduction to html

Source: Internet
Author: User

A Brief Introduction to the ordered list and unordered list of html, and a brief introduction to html

A Brief Introduction to the ordered and unordered html lists:

This section describes the simple usage of ordered and Unordered Lists, hoping to help you.

I. ordered list:

You can use the <ol> label to define an ordered list, which is called an ordered list because the list can be sorted.

You can use the type attribute of <ol> to achieve ordered sorting.

Type property value:

1 indicates 1, 2, 3, 4.

A is represented by a, B, c, and d.

A is represented by A, B, C, and D.

I is represented by I, ii, iii.

I is represented by I, II, III.

Code example:

<! DOCTYPE html> 

Ii. unordered list:

The unordered list corresponds to the ordered list, and does not represent the sequence number before the list.

You can use the <ul> label to define an unordered list.

You can use the type attribute to define the symbols before the list. The attribute values are as follows:

Dise: solid circle (default ).

Circle: hollow circle.

Square: solid square.

Code example:

<! DOCTYPE html> 

Original address: http://www.51texiao.cn/HTML5jiaocheng/2015/0613/4143.html

The original address is: http://www.softwhy.com/

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.