Difference between revisions of "Web form"

From Market Ruler Help
Jump to: navigation, search
(Created page with 'A '''web form''' is the interactive aspect of the internet, which allows web site visitors to enter information into fields and send them to a web server for processing. '''Web …')
 
m
Line 15: Line 15:
 
* Password field (''type="password"'')
 
* Password field (''type="password"'')
 
* Multiple lines of text (''textarea'' input)
 
* Multiple lines of text (''textarea'' input)
* Radio butotns (''type="radio"'')
+
* Radio buttons (''type="radio"'')
 
* Checkboxes (''type="checkbox"'')
 
* Checkboxes (''type="checkbox"'')
 
* Buttons (''type="button"'')
 
* Buttons (''type="button"'')

Revision as of 21:11, 28 July 2011

A web form is the interactive aspect of the internet, which allows web site visitors to enter information into fields and send them to a web server for processing.

Web forms are generated using HTML and, sometimes, JavaScript, but the basic format in HTML is:

<form action="page-to-submit-to" method="post">
     <input type="text" name="email" value="" />
     <input type="submit" value="Sign up for our newsletter" />
</form>

The form tag delimits the elements on the form, and the input tags specify a place to enter their email address, and a button.

Web forms can contain the following types of elements:

  • Text field (type="text")
  • Password field (type="password")
  • Multiple lines of text (textarea input)
  • Radio buttons (type="radio")
  • Checkboxes (type="checkbox")
  • Buttons (type="button")
  • Submit buttons (type="submit")
  • Drop-down list (select tag)

See also