HTML Tutorial
<table>
TagThe <table>
tag defines a table structure in HTML. It organizes data into rows and columns, allowing for a tabular representation of information.
<table>
<table>
<table>
<tr>
<th>Name</th>
<th>Age</th>
</tr>
<tr>
<td>John Doe</td>
<td>30</td>
</tr>
</table>
<table border="1" cellpadding="5">
...
</table>
Exploring the <table>
Tag - HTML Example
<!DOCTYPE html>
<html>
<head>
<title>Table Example</title>
</head>
<body>
<h1>Employee Information</h1>
<table>
<tr>
<th>Name</th>
<th>Age</th>
<th>Salary</th>
</tr>
<tr>
<td>John Doe</td>
<td>30</td>
<td>$50,000</td>
</tr>
<tr>
<td>Jane Smith</td>
<td>25</td>
<td>$45,000</td>
</tr>
</table>
</body>
</html>
This example demonstrates a table with 3 rows and 3 columns, including a header row with column labels.
<tr>
tag to create a table row.<th>
tag for table header cells and the