Write HTML code for the following Table

HTML 5 / HTML Table

4845

Program:

<table border="1" width="500" height="150" cellpadding="0" cellspacing="0">
	 
 <tr>
	<td rowspan="6" align="center">Students Information</td>
	<td colspan="2" rowspan="2" align="center"  valign="bottom">Name</td>
	<td colspan="2" align="center">Address</td>
	 
</tr>
	
<tr> 
<td align="left">City</td>
<td align="left">House No</td> 
</tr>
	
<tr> 
<td colspan="2" align="center">A</td>
<td align="left">HND</td>
<td align="right">1</td>
</tr>

<tr> 
<td colspan="2" align="center">B</td>
<td align="left">LHR</td>
<td align="center">2</td>
</tr>

<tr> 
<td colspan="2" align="center">C</td>
<td align="left">SWL</td>
<td align="left">3</td>
</tr>

<tr> 
<td colspan="2" align="center">D</td>
<td align="left">BWP</td>
<td align="right">4</td>
</tr>
	
</table>

Output:

Live Preview

Explanation:

Nope

This Particular section is dedicated to Programs only. If you want learn more about HTML 5. Then you can visit below links to get more depth on this subject.