Posted By

sandman7OR on 08/08/10


Tagged

forms


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

jplr
abbyabigale


Simple form with tables


 / Published in: HTML
 

  1. <form class="contact-form" method="post" action="contact_fh.php">
  2. <table align=center>
  3. <tr><td><label>Send to:</label></td>
  4. <td><select name="sendto">
  5. <option value="general">General Comments</option>
  6. <option value="director">Director</option>
  7. <option value="webmaster">Webmaster</option>
  8. </select>
  9. </td>
  10. </tr>
  11. <tr><td><label><font color=red> *</font>Your Name:</label></td>
  12. <td><input size=25 name="Name"></td>
  13. </tr>
  14. <tr><td><label><font color=red> *</font>Your Email:</label></td>
  15. <td><input size=25 name="Email"></td>
  16. </tr>
  17. <tr><td style="vertical-align: top;"><label>Message:</label></td>
  18. <td><textarea name="Message" rows=7 cols=35></textarea></td>
  19. </tr>
  20. <tr><td colspan=2 align=center><input type=submit name="send" value="Contact NCCDC"></td>
  21. </tr>
  22. <tr><td colspan=2 align=left><small><font color=red>*</font> Required</small></td></tr>
  23. </table>
  24. </form>

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: nerdfiles on August 8, 2010

Why? Uses s or a .

Posted By: nerdfiles on August 8, 2010

Meh. divs or a definition list (dl); either way has better semantics than tables.

You need to login to post a comment.