Ordered Lists

  • Lists commonly used when we have a set of items with common concept. 
  • Like in word processor, we can apply ordered lists or unordered lists.
  • Ordered lists are those who display numbering for their items.
  • Unordered lists are those who display bullets instead of numbers.

 

Following is an example where we use ordered and unordered lists:


<!doctype>   
<html>
<head>
    <title>My  Learning Plan</title>
</head>
<body>
    <h1>Hi, I'm  learning HTML.</h1>
    <p>I will use it  for <i>developing web pages</i>.  <br>
    It is very easy and simple.</p>
    <hr />
    <div>
        <!-- Here I  will list my training plan for this year -->
        <p>This is <em>part of my learning plan for this year</em>. <u>Which <br>
        will include:</u></p>
        <ul>
            <li>Html</li>
            <li>JavaScript</li>
            <li>And the Java  Programming Language</li>
            <li>Microsoft  Windows Server</li>
        </ul>
        <p>While in the  next year the plan will be:<p>
        <ol>
            <li>C++</li>
            <li>JQuery</li>
            <li>Microsoft  SQL Database</li>
            <li>Oracle  Database</li>
            <li>Microsoft  Access Database</li>
            <li>Linux</li>
        </ol>
    </div>
</body>
</html> 

The result will be: