a doubt in html code on creating table?

Teenu

New member
actually i want to create a 3 row table in that the first row should be without any column and the second and the third row should have 2 column...
please help me with the code

i tired in this way but its not coming properly
<table>
<tr>
a
</tr>

<tr>
<td> b</td>
<td>c</td>
</tr>

<tr>
<td>d</td>
<td>e</td>
</tr>

</table>
thanks in advance
 
Here is the right code


<html>
<body>
<table border="2">
<tr>
<td colspan=2>heading</td>
</tr>

<tr>
<td> b</td>
<td>c</td>
</tr>

<tr>
<td>d</td>
<td>e</td>
</tr>

</table>
</body>
</html>
 
Back
Top