what is order list and unorder list in html with examples?
what is order list and unorder list in html with examples?
- Order list in HTML is used to create a list of items in a particular order or sequence step by step.
- Digits are used in order list.
- Unorder list is used to create a list of items in unparticular sequence or order.
- Bullets are used in unorder list.
We can write our page in order list on html by using the followings tags.👇
<OL><li>OL mean order list li mean list initial<li>OL mean order list li mean list initial<li></OL>
We can write our page in order list on html by using the followings tags.👇.👇
<UL><li>UL mean unorder list li mean list initial<li>UL mean unorder list li mean list initial<li></UL>
lets starts practice.
<html>
<head>
<title>
</title>
</head>
< body >
<font size=10 color=blue>
<OL><li>Hina <li> Mahnoor<li>Rohi<li>Shan<li>Mahi<li></OL>
Then close this tag as
</body>< body >
<font size=10 color=blue>
<OL><li>Hina <li> Mahnoor<li>Rohi<li>Shan<li>Mahi<li></OL>
Then close this tag as
</html>
OL means order list and UL means unorder list--------then close tag
You can do practice on simple notepad.
Similarly in unorder list ,we should have to just change only the alphabets Ol with Ul .