Table Attributes Html Code Example


Example 1: html5 table


<table>
<thead>
<tr>
<th colspan="2">The table header</th>
</tr>
</thead>
<tbody>
<tr>
<td>The table body</td>
<td>with two columns</td>
</tr>
</tbody>
</table>

Example 2: table html tages


<table>
<tr> <!-- This is the first row -->
<th>This is the heading</th>
<th>Next heading to the right</th>
</tr>
<tr> <!-- This is the second row -->
<td>This is where the table data goes</td>
<td>This is the second columns data</td>
</tr>
</table>

Comments

Popular posts from this blog

Converting A String To Int In Groovy

"Cannot Create Cache Directory /home//.composer/cache/repo/https---packagist.org/, Or Directory Is Not Writable. Proceeding Without Cache"

Android How Can I Convert A String To A Editable