Demonstration of "Get" vs. "Post" Form methods
Note the following:
- A form element is used to group together inputs that get submitted or reset when the submit or reset buttons are clicked.
- The label element is used to associate a label with a specific input. In this case, clicking on the label will give focus to the input (compare clicking on the labels for both text boxes; only the first one is set up this way). In addition, screen readers will read the label for an input when the input has focus.
For more information, see:
Form with method = "get"
Form with method = "post"