ol: ordered list
li: list

HTML Code (index.html)

<html>
<head>
<title>Example of Ordered List</title>
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body>
	<h1>Program Names</h1>
	<h3>Unordered List</h3>
		<ol>
			<li>BBA</li>
			<li>MBA</li>
			<li>CSE</li>
			<li>LLB</li>
			<li>EEE</li>
		</ol>		
</body>
</html>

CSS Code (style.css)

body{
background-color:#66FF33;
}

h1{
color:#FFFFFF;
background-color:#000000;
text-align:center;
}

h3{
color:#0000FF;
text-decoration:underline;
}

Leave a Reply

Your email address will not be published. Required fields are marked *