Tuesday, November 9, 2010

HTML webpage 05/10/10

Homepage:
<html>
<head><title>
Home page</title></head>
<body bgcolor=anesya text=darkgreen><hr>
<center> <h1><b>My Hobbies</b></h1>
<br> <h3><i>I like to read books</i></center></h3>
<hr>
<h1>Chitra is cool</h1>
<h2>Chitra is cool</h2>
<h3>Chitra is cool</h3>
<h4>Chitra is cool</h4>
<h5>Chitra is cool</h5>
<h6>Chitra is cool</h6>
<center><img src="C:\Documents and Settings\All Users\Documents\My Pictures\Sample Pictures\Water lilies.jpg" width=400 height=400 border=8></center>
<center><br><img src="C:\Documents and Settings\All Users\Documents\My Pictures\Sample Pictures\Water lilies.jpg" width=400 height=400 border=8></center>
</body>
</html>

Second page:
<html>
<head><title> My Second Page</title></head>
<body bgcolor=pink text=darkgreen>
<h1><center>Example for lists(ordered and unordered list)</center></h1><hr>
<ol type=A >
<li>computer</li>
<li>printer</li>
<li>mouse</li>
</ol>
<ul>
<li>computer</li>
<li>printer</li>
<li>mouse</li>
</ul>
<hr><center><h1>Tables and lists</center></h1><hr>
<center><table bgcolor=anesya width=50% border=5></center>
<tr height=200>
<td width=50%><img src="C:\Documents and Settings\All Users\Documents\My Pictures\Sample Pictures\Water lilies.jpg" width=200 height=200 border=3></td>
<td width=50%><img src="C:\Documents and Settings\All Users\Documents\My Pictures\Sample Pictures\Sunset.jpg" width=200 height=200 border=3</td>
</tr>
<tr height=200>
<td width=50%><img src="C:\Documents and Settings\All Users\Documents\My Pictures\Sample Pictures\Blue hills.jpg" width=200 height=200 border=3></td>
<td width=50%><img src="C:\Documents and Settings\All Users\Documents\My Pictures\Sample Pictures\Winter.jpg" width=200 height=200 border=3</td>
</tr>
</table>
</html>

No comments:

Post a Comment