Image:Sample web form.png

From Wikipedia, the free encyclopedia

Contents

[edit] Summary

A sample form (web) in HTML and generated with Mozilla Firefox.

This form shows a combined sample of (in order from top to bottom):

[edit] HTML

The following is the HTML used to create this form:

<FORM method="post" action="bar.php">
  <TABLE border="1">
   <TR bgcolor="#CCCCFF">
    <TH>Name</TH>
    <TH>Value</TH>
   </TR>
   <TR>
    <TD>Name</TD>
    <TD>
     <input type="text" size="25">
    </TD>
   </TR>
   <TR>
    <TD>Sex</TD>
    <TD>
     <input type="radio" name="sex" value="male"> Male
     <BR>
     <input type="radio" name="sex" value="female" checked> Female
    </TD>
   </TR>
   <TR>
    <TD>Eye color</TD>
    <TD>
     <select name="eye color">
      <option>blue</option>
      <option>brown</option>
      <option selected>green</option>
      <option>other</option>
     </select>
    </TD>
   </TR>
   <TR>
    <TD>Check all that apply</TD>
    <TD>
     <input type="checkbox" name="height" value="1"> Over 6 feet tall</input>
     <BR>
     <input type="checkbox" name="weight" value="1"> Over 200 pounds</input>
    </TD>
   </TR>
   <TR>
    <TD colspan="2">Describe your athletic ability:<BR>
     <textarea name="athletic" cols="50" rows="4"></textarea>
    </TD>
   </TR>
   <TR>
    <TD colspan="2" align="center">
     <input type="submit" value="Enter my information">
    </TD>
   </TR>
  </TABLE>
 </FORM>

[edit] Image Licensing

This picture/image was taken/created by me. See my User:Cburnett page for attribution or for other licenses.

[edit] HTML Licensing

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeDimensionsUserComment
current00:31, 17 December 2005393×320 (18 KB)Cburnett (Talk | contribs) (A sample form (web) in HTML and generated with Mozilla Firefox.)

The following pages on the English Wikipedia link to this file (pages on other projects are not listed):