Showing posts with label order list. Show all posts
Showing posts with label order list. Show all posts

Saturday, 15 November 2014

ORDER LIST IN HTML

Structure of the Problem Requirements 

In this problem we will learn how to arrange elements in order list. <ol> tage is used for order list and in that list <li> is represent each element in List. <li> tag added when you add new element. Or there is an option for starting number, you can give your own starting number in Order list and then numbering start from your own number. Here is the source code of this web page which help you in better understanding. 

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