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