|
Colspan attribute defines the number of columns in the table that
the cell will span (stretch)
<html>
<head>
<title>Colspan</title>
</head>
<body>
<table width="650" border="1" cellspacing="0"
cellpadding="10" bordercolor="#FF0000" align="center"
bgcolor="#FFFFCC">
<tr>
<td clospan="3">Colspan</td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
</table>
</body>
</HTML>
Click here to see
the table:
Rowspan attribute defines the number of rows in the table that
the cell will span (Stretch)
<html>
<head>
<title>Rowspan</title>
</head>
<body>
<table width="650" border="1" cellspacing="0"
cellpadding="10" bordercolor="#FF0000" align="center"
bgcolor="#FFFFCC">
<tr>
<td rowpan="2">Rowspan</td>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
</table>
</body>
</html>
Click here to see
the table:
[1]---[2]
Copyright © 2001 koodesign
|