Sunday, September 1, 2019

Best example for understanding Rowspan and colspan in html.

<html>
<head>
<title>table</title>
</head>
<body>
<table border="5px">
<tr>
<th colspan="8">Marks Details</th>
</tr>
<tr>
<th rowspan="2">Roll no.</th>
<th rowspan="2">Name</th>
<th rowspan="2">English</th>
<th colspan="3">Science</th>
<th rowspan="2">Math</th>
<th colspan="2">FIT</th>
</tr>
<tr>
<td>Physics</td>
<td>chemistry</td>
<td>Bio</td>
</tr>
<tr>
<td>1</td>
<td>Arjun</td>
<td>45</td>
<td>23</td>
<td>14</td>
<td>111</td>
<td>10</td>
<td>13</td>
</tr>
<tr>
<td>2</td>
<td>Rohan</td>
<td>45</td>
<td>23</td>
<td>14</td>
<td>111</td>
<td>10</td>
<td>13</td>
</tr>
<tr>
<td>3</td>
<td>Rajan</td>
<td>45</td>
<td>23</td>
<td>14</td>
<td>111</td>
<td>10</td>
<td>13</td>
</tr>
</table>
</body>
</html> 

Font and Basefont tag of html in a very easy way.

Difference between font and basefont tag in html:- Font tag is a container tag. Basefont tag is empty tag. We can apply font tag in a ...