table in html code
<html>
<head>
<title>my table</title>
<head>
<body>
<center>
<br>
<table border="2" cellspacing="1" width="400" height="200" bgcolor="#00FF00">
<tr>
<th rowspan="3" ><center>A</center></th>
<th rowspan="2"><center>B</center></th>
<th><center>C</center></th>
<th><center>D</center></th>
</tr>
<tr>
<td colspan="2"><center>1</center></td>
</tr>
<tr>
<td colspan="3"><center>2</center></td>
</tr> <!-- prepared by vishal Rathod -->
<tr>
<td colspan="2"><center>3</center></td>
<td colspan="2"><center>4</center></td>
</tr>
<td colspan="5"><center>5</center></td>
</table>
</br>
</center>
</body>
</html>
Comments
Post a Comment