< table style="width:100%">
< tr>
< th>Firstname< /th>
< th>Lastname< /th>
< th>Age< /th>
< /tr>
< tr>
< td>Jill </td >
< td>Smith </td >
< td>50 </td >
< /tr>
< tr>
< td>Eve </td >
< td>Jackson < /td>
< td>94 < /td>
< /tr>
< /table>
HTML Table Tags
Tag - Description
<table>
Defines a table
<th>
Defines a header cell in a table
<tr>
Defines a row in a table
<td>
Defines a cell in a table
<caption>
Defines a table caption
<colgroup>
Specifies a group of one or more columns
in a table for formatting
<col>
Specifies column properties for each
column within a <colgroup> element
<thead>
Groups the header content in a table
<tbody>
Groups the body content in a table
<tfoot>
Groups the footer content in a table
Comments
Post a Comment