M
Michael Wilcox
Is the following code a good use of tables?
<form action="store.php" method="post">
<table>
<tr><td style="text-align: right;">Name:</td><td><input type="text"
name="from"></td></tr>
<tr><td style="text-align: right;">Email:</td><td><input type="text"
name="email"></td></tr>
<tr><td style="text-align: right;">Body:</td><td><textarea
name="body"></textarea></td></tr>
</table>
<input type="submit" value="Send">
</form>
The labels (name, email, body) do refer to the adjacent cell, and it seems
like it should be acceptable, but I thought I should ask.
<form action="store.php" method="post">
<table>
<tr><td style="text-align: right;">Name:</td><td><input type="text"
name="from"></td></tr>
<tr><td style="text-align: right;">Email:</td><td><input type="text"
name="email"></td></tr>
<tr><td style="text-align: right;">Body:</td><td><textarea
name="body"></textarea></td></tr>
</table>
<input type="submit" value="Send">
</form>
The labels (name, email, body) do refer to the adjacent cell, and it seems
like it should be acceptable, but I thought I should ask.