Make delicious recipes!

HTML Lists


In HTML, lists are of two types:
  1. Ordered lists
  2. Unordered lists

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:
  1. First element
  2. Second element
  • First element
  • Second element


Lists can be customized using several CSS styles as explained here.





Like us on Facebook to remain in touch
with the latest in technology and tutorials!


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:

Site Owner: Sachin Goyal