HTML (31)
Table Attribute
Table Data (TD) attribute
Height and width attribute (TD)
This is used to change the HEIGHT and WIDTH of the Table Data.
Example ↓↓↓↓
<html>
<head>
<title>My Page</title>
</head>
<body>
<table border="5">
<tr>
<td height="50" width="60">Sample</td>
<td height="50" width="60">Sample</td>
<td height="50" width="60">Sample</td>
<td height="50" width="60">Sample</td>
</tr>
</table>
<p> Normal Table Data</p>
<table border="5">
<tr>
<td>sample</td>
<td>sample</td>
</tr>
</table>
</tr>
</table>
<p> Normal Table Data</p>
<table border="5">
<tr>
<td>sample</td>
<td>sample</td>
</tr>
</table>
</body>
</html>
0 Comments