HTML Forms Flashcards
What do forms allow us to do?
collect info from users
What are form controls?
elements that are used to construct a form
What is a form processor?
program used to process forms. browser sends form to processor
What is a form data set?
A collection of name value pairs.
“name” is the element attribute
“value” is provided by the user
What is a successful control?
A control that has both a name and value at the time of submission
What are the two form methods?
Get and Post
“Get” form method
used for forms that may be accessed by the user later
“Post” form method
used when data should not be accessed later, or for long strings of text.
<label></label>
labels new control element
<input></input>
allows user to input text
name attribute
links label to input
type attribute
identifies the type of form control (text input, radio buttons, etc)
value attribute
controls the button’s text (exclusive to type=”submit”