Basic website creating using table for beginners with code

<!Doctype html>
<head>
<title>Website</title>
</head>
<body>
<center><h1>This is my first website</h1></center>
<table width=100% border=1 cellpadding=”10″ cellspacing=”10″>
<tr>
<th width=20%>This is left side.</th>
<th width=60% aligh=center><h2><a href=”http://www.ranjanbarman.org”>HOME</a> | <a href=”#”>Bikes</a> | <a href=”#”>Cares</a> | <a href=”#”>Dresses</a> | <a href=”#”>Photos</a></h2></th>
<th width=20%>This is the right side.</th>
</tr>
<tr>
<td></td>
<td height=400>
This is the place for your web content.
</td>
<td></td>
</tr>
<tr>
<th> About Us </th>
<th> Contact Us </th>
<th> Copy rights@ </th>
</tr>
<tr>
</table>
</body>
</html>
Write the code into your notepad and save it like filename.html
Code Preview 
This is my first website
This is left side.HOME | Bikes | Cares | Dresses | PhotosThis is the right side.
This is the place for your web content.
About UsContact UsCopy rights@

Comments

Popular posts from this blog

Write a Windows Program to display a message box with cancel, Retry and Continue.

How computer is used as social networking?

Differentiate between primary and secondary memory