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

530 Valid Hostname Is Expected When Setting Up IIS 10 For Multiple Sites

C Perror Example

Converting A String To Int In Groovy