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
 
(2 intermediate revisions by the same user not shown)
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"'')
Line 24: Line 24:
 
* [[Tracking Forms (JavaScript)]]
 
* [[Tracking Forms (JavaScript)]]
 
* [[JavaScript onsubmit]]
 
* [[JavaScript onsubmit]]
* [[Saving information across pages and domain names]]
 
 
* [http://www.w3schools.com/html/html_forms.asp HTML Forms and Inputs at w3schools]
 
* [http://www.w3schools.com/html/html_forms.asp HTML Forms and Inputs at w3schools]
 +
 +
[[Category:Glossary]]

Latest revision as of 16:48, 17 May 2018

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