- Launch Notepad
- Type the following code;
- Save your file as ordered-list.html
- test your file in a browser
output:
Creating Unordered list
- Open the ordered-list.html file
- Add the following code after the ordered list closing tag (</tag>):
- save the file.
- open it in browser
output:
NOTE:
THE LIST ELEMENT IS ALSO USED IN PAGE NAVIGATION TO LINK OTHER CONTENTS OR PAGES WITHIN THE WEBSITE. A NAVIGATION BAR IS A LIST OF LINKS. THIS IS WHY THE MOST SEMANTIC WAY OF MARKING UP A LIST OF LINKS IS TO USE A LIST ELEMENT. IT ALSO HAS GREAT ADVANTAGE WHEN IT COMES TO PROVIDING STRUCTURE.
LIST - This is a series of names, words, or other items written, printed, or imagined one after the other.
<OL> - This defines an ordered list of items.
<UL> - This defines an unordered list of items.
<LI> - This is used for specifying a list item.
19 comments:
so helpful 👏. Great jod.
Wow, daebak. It helped a lot
Now i know what is the output of the code
Thanks to your blog
Great output
It's very helpful
Cool! Very helpful
Very useful💓
Wow
wow thanks for blogging now i know what to do thank
Thank you for commenting everyone i really appreciate it! I hope my blog can help you to learn more about html codes!
Interesting! Thanks for the info
So helpful!
THANKS FOR THE INFO
Thanks for this!
Great! So helpful.
Nice!! Very helpful!!
Good job
Nicely done has a great back ground and colors are in perfect places
Nice one
Post a Comment