All about programming in GNU/LINUX

XHTML and CSS-2:BASIC HTML AND CSS

<!doctype html>
<html>
<head>
<title>LISTS</title>
<style type="text/css">
	
        
        h2 {text-align:center;}           <!-- TO align h2 header to centre of the page -->
	p  {text-indent:30px;}            <!-- To indent starting of each paragraph by 30 pixels -->
	ul {color:red;font-style:italic;} <!-- CSS snippet to make all elements in unordered list as red and italic--> 
	ol {color:blue;font-weight:bold;} <!-- To change the ordered list section to blue -->
</style>

</head>
<body>
<h2>MISS YOU</h2>
<p>Here is the unordered Lists</p>
<ul>                                      <!--<ul> is the tag for the unordered list --> 
	<li>karthic</li>
	<li>Suresh</li>
	<li>sun</li>
	<li>RAO</li>
</ul>
<p>Here is the ordered list</p>           <!--<ol> is the tag for the ordered list -->  
<ol>
	<li>Karthic Rao</li>
	<li>Suna</li>
	<li>suresh</li>
</ol>
<p>HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH
HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH
HHHHHHHHHHHHHHHHHH
HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH
HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH,</p>	
	
</body>

</html>

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s