HTML - 11: TABLES
IN THIS TUTORIAL, WE WILL LEARN ABOUT TABLES:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>SHAYAN'S WEBSITE</title>
</head>
<body>
<table>
<thead>
<caption><h1>List of Numbers</h1></caption>
<tr>
<th colspan="2">NUM1</th>
<th>NUM2</th>
<th>NUM3</th>
</tr>
</thead>
<tbody>
<tr>
<td>one</td>
<td>two</td>
<td>three</td>
<td>three and a half</td>
</tr>
<tr>
<td>four</td>
<td>five</td>
<td>six</td>
</tr>
</tbody>
</table>
</body>
</html>
Comments
Post a Comment