An ordered list of HTML and an unordered list are simply introduced

Source: Internet
Author: User

An ordered list of HTML and an unordered list are briefly described:

This section will simplify some simple uses of the sequence list and unordered lists, hoping to bring some help to the needy friends.

I. There are sequence tables:

You can use the <ol> tag to define an ordered list, which is called a sequential table, because you can sort the lists.

With the type attribute of <ol>, an ordered ordering function can be implemented.

Type property Value:

1 is expressed as 1,2,3,4.

A means to be represented by A,b,c,d.

A means to be represented by A,b,c,d.

I is expressed in I,ii, III.

I is expressed as I,II,III.

code example:

<!DOCTYPE HTML><HTML><Head><MetaCharSet= "Utf-8"><Metaname= "Author"content= "http://www.51texiao.cn/" /><title>Ant Tribe</title>  </Head> <Body> <oltype= "1"Start= "5">  <Li>Ant Tribe One</Li>  <Li>Ant Tribe II</Li>  <Li>Ant Tribe Three</Li></ol><oltype= "a">  <Li>Ant Tribe One</Li>  <Li>Ant Tribe II</Li>  <Li>Ant Tribe Three</Li></ol><oltype= "A">  <Li>Ant Tribe One</Li>  <Li>Ant Tribe II</Li>  <Li>Ant Tribe Three</Li></ol><oltype= "I">  <Li>Ant Tribe One</Li>  <Li>Ant Tribe II</Li>  <Li>Ant Tribe Three</Li></ol><oltype= "I">  <Li>Ant Tribe One</Li>  <Li>Ant Tribe II</Li>  <Li>Ant Tribe Three</Li></ol></Body> </HTML>

Two. Unordered list:

An unordered list corresponds to an ordered list, and there is no ordinal number in front of the list that represents the order.

Use the <ul> tag to define an unordered list.

Use the Type property to define the symbol preceding the list, with the following property values:

Dise: Solid Circle (default value).

Circle: Hollow Circle.

Square: solid block.

code example:

<!DOCTYPE HTML><HTML><Head><MetaCharSet= "Utf-8"><Metaname= "Author"content= "http://www.51texiao.cn/" /><title>Ant Tribe</title></Head> <Body> <ultype= "Dise">  <Li>Ant Tribe One</Li>  <Li>Ant Tribe II</Li>  <Li>Ant Tribe Three</Li></ul><ultype= "Circle">  <Li>Ant Tribe One</Li>  <Li>Ant Tribe II</Li>  <Li>Ant Tribe Three</Li></ul><ultype= "Square">  <Li>Ant Tribe One</Li>  <Li>Ant Tribe II</Li>  <Li>Ant Tribe Three</Li></ul></Body> </HTML>

The original address is: http://www.51texiao.cn/HTML5jiaocheng/2015/0613/4143.html

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

An ordered list of HTML and an unordered list are simply introduced

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.