Day3-Exercise1(Table properties)
<!Table properties>
<html>
<head>
<style>
table,th,td
{
border:1px solid black;
border-collapse:collapse;
}
table
{
border-spacing:1115px;
}
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>
a
<html>
<head>
<style>
table,th,td
{
border:1px solid black;
border-collapse:collapse;
}
table
{
border-spacing:1115px;
}
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>
a
Comments
Post a Comment