A button is an interactive control that lets someone activate an action. In a form, clicking it tells the browser that the user has finished entering information and wants the form processed. section 8.3.8
A form button works much like an OK button in a computer dialog: the user completes the fields, then clicks the button to continue. Clicking it is called submitting the form. section 8.3.8
When creating a button for a web page:
- Choose a label that tells users what will happen, such as “Send It” instead of the automatically generated “Submit.” section 8.3.8
- Place the button inside the form so users can submit the information they entered. section 8.4
- Check the generated HTML and CSS so the button appears as expected and fits the page design. section 2.2.1
A form button
An event sign-up page can include fields for a volunteer’s information and a button labeled “Send It.” Clicking the button submits the completed form. section 8.3.8 section 8.4
A submit button element with the name "Send It".
Inspect the submit-button example to see how a preferred label such as “Send It” is represented in HTML. section 8.3.8







