Wednesday, 16 November 2016

OK GUYZZ HERE IS THE HTML TABLE PROGRAMM WHICH OUR SIR GAVED A TASK TODAY HERE IS THE SOURCE CODE:

<html>
<head><u><b><font color="green"><center>TABLE</u></b></font></center></head>
<style>
th,td,table { border:2px solid black
}
</style>
<center>
<body>
<table>
<tr>
<td>sr no</td>
<td colspan="2">sub2</td>
<td>sub3</td>
<td colspan="3">total</td>
</tr>
<tr>
<td>2</td>
<td colspan="3">25</td>
<td colspan="3">20</td>
</tr>
<tr>
<td>3</td>
<td colspan="2">24</td>
<td>23</td>
<td colspan="3"><center>29</td></center>
</tr>
<tr>
<td>4</td>
<td colspan="3">27</td>
<td colspan="3">35</td>
</tr>
</center>
</body>
</table>

</html>

output of this programm will be:



No comments:

Post a Comment