table column width html code example
Example 1: html table set column width
<table style="width: 100%"> <!-- Use The Width Property -->
<tbody>
<tr>
<td style="background-color: #777">15%</td>
<td style="background-color: #aaa">70%</td>
<td style="background-color: #777">15%</td>
</tr>
</tbody>
</table>
Example 2: col tag in html
<!-- use the scope tag -->
<table>
<tr scope="col">Column</tr>
<tr scope="row">Row</tr>
</table>