html table with single column text code example
Example 1: html create a table
<html>
<head>
<title>Working with HTML Tables</title>
</head>
<body>
<table>
<tr>
<th>Name</th>
<th>Date of Birth</th>
<th>Weight</th>
</tr>
<tr>
<td>Mary</td>
<td>12/13/1994</td>
<td>130</td>
</tr>
</table>
</body>
</html>
Example 2: table tag
<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>