Hope now you are clear about the List element. so can you create the list of items in the web page? if not, But don’t worry we are help you after learn this page you can can create any type of lists on the your web page very easily. So lets start!
<ol> And <li> Tag Attributes
Attributes | Value | Description |
---|---|---|
type | 1aAiI | Arabic NumberLowercase alphabetUppercase alphabetLowercase Roman NumeralUppercase Roman Numeral |
Start | “Start_Sequence_Number” | Define start sequence number of the list |
Example : HTML Ordered list.
<html> <head> <title> HTML Ordered list Examples </title> </head> <body> <!-- Now we are using HTML Ordered list --> <ol type="1" value="1"> <li> Ordered list Arabic Number </li> <li> Ordered list Arabic Number </li> </ol> <ol type="a" value="1"> <li> Ordered list Lower Alphabet </li> <li> Ordered list Lower Alphabet </li> </ol> <ol type="A" value="1"> <li> Ordered list Upper Alphabet </li> <li> Ordered list Upper Alphabet </li> </ol> <ol type="i" value="1"> <li> Ordered list Lower Roman numeral </li> <li> Ordered list Lower Roman numeral </li> </ol> <ol type="I" value="1"> <li> Ordered list Upper Roman numeral </li> <li> Ordered list Upper Roman numeral </li> </ol> </body> </html>
Output :
My name is Mukesh Jakhar and I am a Web Application Developer and Software Developer, currently living in Jaipur, India. I have a Master of Computer Application in Computer Science from JNU Jaipur University. I loves to write on technology and programming topics. Apart from this, I love to travel and enjoy the beauty of nature.