01 January 2012

HTML TUTORIAL--XII


                                                        
                                                
                                                      TABLES
Tables are defined with the<table> tag .A Table is divided into rows and each row is divided into data cells.
Row defines with <tr>
Cells defines with<td>

Now we make a Table


<table border="1">
<tr>
<td>Name</td>
<td>Roll </td>
</tr>
<tr>
<td>Name</td>
<td>Roll</td>
</tr>

<tr>
<td>Name</td>
<td>Roll</td>
</tr>

</table>


HEADINGS IN A TABLE
Heading in a table are defined with the <th> tag



<table border="1">
<tr>
<th>Heading</th>
<th>Other</th>

<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>Name</td>
<td>Roll</td>
</tr>
<tr>
<td>Name</td>
<td>Roll</td>
</tr>
</table>


Related Posts Plugin for WordPress, Blogger...
Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Web Hosting Bluehost