HTML Form Examples

Examples : All of the examples use METHOD=POST for form action.

  • Example 1 -- a very simple fill-out form.
  • Example 2 -- three text entry fields.
  • Example 3 -- text entry fields and checkboxes.
  • Example 4 -- changing the default values of text entry fields and checkboxes.
  • Example 5 -- changing various attributes of text entry fields.
  • Example 6 -- multiple, independent forms in a single document.
  • Example 7 -- text fields, radio buttons, and checkboxes
  • Example 8 -- password entry fields.
  • Example 9 -- option menus.
  • Example 10 -- scrolled lists with single and multiple selections.
  • Example 11 -- multiline text entry areas.
Simply right click in frame below to view the forms source sode.