Day2-Exercise-9(To represent Table-2 Properties)

<!To represent Table-2 Properties>
<html>
<head>
<style>
table th,td
 {
   border:1px solid black;
   border-collapse:collapse;
 }
th,td
{
padding :15px;
}
th
{
text-align:center;
}
</style>
</head>

<bod>
<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

Popular posts from this blog