Order List in HTML

This is a simple HTML exercise for beginners to make order list in web page. The <ol> tag defines an ordered list. An ordered list can be numerical or alphabetical.You can use the <li>  (list item) tag to define list items.

Source Code 


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
 <title> Html Unorder List </title>
 <meta http-equiv="content-type" content="text/html; charset=utf-8" />
</head>
<h1> ANDEVELOPER </h1>
 <ol>
  <li> C++ </li>
  <li> Java </li>
  <li> Html </li>
  <li> Php </li>
  <li> CSS </li>
  <li> Android </li>
  <li> Linux </li>
  <li> SEO </li> 
 </ol>
<h2> AN_DEVELOPER </h2>
 <ol start = "20">
  <li> C++ </li>
  <li> Java </li>
  <li> Html </li>
 </ol>
</body>

</html>


Output of the Program 

Order list in html
Order list in html


Share on Google Plus

About Asad

Asad Niazi is Software Engineer , Programmer, Web Developer and a young mentor of BloggersTown and PProgramming. Asad Love to writes about Technology, Programming, Blogging and make money online.
    Blogger Comment
    Facebook Comment

0 comments:

Post a Comment