You are on page 1of 3

<!

DOCTYPE html>
<html>
<head>
<style>

#table1{
border-collapse:collapse;
width: 400px;
height: 200px;

}
td{
text-align: center;
}
#table2{
width:50% ;
border-collapse:collapse;
width: 400px;
height: 200px;

</style>
</head>
<body>

<caption><h2>Table No.1</h2> </caption>

<table id="table1" border=2pxblacksolid >


<tr rowspan="2">
<th rowspan="2"></th>
<th colspan="2">Average</th>
<th rowspan="2">Red Eyes</th>
</tr>
<tr>
<th>height</th>
<th>weight</th>
</tr>

<tr>
<th>Males</th>
<td>1.9</td>
<td>0.003</td>
<td>40%</td>

</tr>

<tr>
<th>Females</th>
<td>1.7</td>
<td>0.002</td>
<td>43%</td>
</tr>

</table>
<caption><h2>Table No.2 </h2> </caption>

<table id="table2" border=2px solidblack>


<tr>
<th>No.</th>
<th>Full Name</th>
<th>Position</th>
<th>Salary</th>
<th>Type</th>
</tr>

<tr>
<td>1</td>
<td>Bill Gates</td>
<td>Founder Microsoft</td>
<td>$1000</td>
<td rowspan="4">Company Founder</td>
</tr>

<tr>
<td>2</td>
<td>Steve Jobs</td>
<td>Founder Apple</td>
<td>$1200</td>
</tr>

<tr>
<td>3</td>
<td>Larry Page</td>
<td>Founder Google</td>
<td>$1100</td>
</tr>

<tr>
<td>4</td>
<td>Mark Zuckeberg</td>
<td>Founder Facebook</td>
<td>$1300</td>
</tr>

<tr>
<td colspan="3">Total Expense:</td>
<td>$4600</td>
</tr>

</table>

</body>
</html>

You might also like