HTML Tables

HTML Tables In HTML5 tables are semantically marked up.
For instance, if there is a header row it is written inside <thead> tag.
Going ahead, the data rows are written inside the <tbody> tag.

The table rows are writen inmside the <tr> tag and the data cell are written inside the <td> tag.

Example:
<table>
<thead>
<tr>
<th>Name</th>
<th>Gender</th>
</tr>
</thead>
<tbody>
<tr>
<td>Swara</td>
<td>Female</td>
</tr>
<tr>
<td>Arya</td>
<td>Female</td>
</tr>
</tbody>
</table>

Sample output for the above code is:

Name Gender
Swara Female
Arya Female

Comments

Popular posts from this blog

Laravel | PHP | Basics | Part 2

Apache Hadoop | Running MapReduce Jobs

Parallel Database design, query processing