|
HTML ListsIn HTML, lists are of two types:
Ordered lists are denoted by <OL> and UnOrdered lists are denoted by <UL> For example: <html> <title>Lists in HTML</title> <body> <OL> <LI>First element</LI> <LI>Second element</LI> </OL> <UL> <LI>First element</LI> <LI>Second element</LI> </UL> </body> </html> The above HTML gives the following result:
Lists can be customized using several CSS styles as explained here. |
Got a thought to share or found a
bug in the code?
We'd love to hear from you:
Name: | |
Email: | (Your email is not shared with anybody) |
Comment: |
Facebook comments: