Day2-Exercise-8(To represent Table Properties)
<!To represent Table Properties>
<html>
<head>
<style>
table,th,td
{
border:1px solid black;
border-collapse:collapse;
}
</style>
</head>
<body>
<table style="width:50%">
<tr>
<th>First name</th>
<th>last name </th>
<th>Age</th>
</tr>
<tr>
<td>siva</td>
<td>raman</td>
<td>41</td>
</tr>
<tr>
<td>perumal</td>
<td>siva</td>
<td>73</td>
</tr>
</body>
</table>
<html>
<head>
<style>
table,th,td
{
border:1px solid black;
border-collapse:collapse;
}
</style>
</head>
<body>
<table style="width:50%">
<tr>
<th>First name</th>
<th>last name </th>
<th>Age</th>
</tr>
<tr>
<td>siva</td>
<td>raman</td>
<td>41</td>
</tr>
<tr>
<td>perumal</td>
<td>siva</td>
<td>73</td>
</tr>
</body>
</table>
Comments
Post a Comment