CREATION OF ALL MNC COMPANIES TABLE USING HTML CODE
NOTE: Rowspan means row margin or row count where we only used to count the no.
of rows.
HTML CODE:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title><table></table></title>
</head>
<body>
<table border="10px" cellpadding="25px" cellspacing="0px">
<tbody>
<tr>
<th bgcolor="pink" rowspan="2">TCS</th>
<th bgcolor="yellow" rowspan="3">HCL</th>
<th bgcolor="violet" rowspan="1">IBM</th>
</tr>
<tr>
<th bgcolor="blue" rowspan="4">WIPRO</th>
</tr>
<tr>
<th bgcolor="grey" rowspan="1">CTS</th>
</tr>
<tr>
<th bgcolor="green" rowspan="1">TECH MAHINDRA</th>
<th rowspan="1">DELOITTE</th>
</tr>
<tr>
<th bgcolor="orange" rowspan="1">INFOSYS</th>
<th bgcolor="green" rowspan="1">PWC</th>
</tr>
</tbody>
</body>
</html>
OUTPUT:
No comments:
Post a Comment