Sunday, August 28, 2011

Example of ordered- list in HTML

Example of ordered- list in HTML 

<html>
<head>

  <title>Ordered Lists</title>
</head>

<body bgcolor="#FFFFFF">

 <ol type = "1">

    <li>One</li>

    <li>Two</li>
          <ol>

                   <li>that is </li>

                   <li>that's nice </li>

                   <li>that's good </li>

          </ol>
    <li>Three</li>

    <li>Four</li>

  </ol>

</body>
</html>


(NOTE- You can also use more type by using 1 or number( this is default) ,
a or lower-alpha , A or upper-alpha , i or lower-roman &amp;amp; I or upper-roman)

OUTPUT- Ordered Lists
  1. One
  2. Two
    1. that is
    2. that's nice
    3. that's good
  3. Three
  4. Four

No comments:

Post a Comment