i

Learn HTML and CSS in 10 Days

Form Buttons

Form Buttons

As soon as the user has entered the desired information, buttons offer them the ability to bring that info into action. Most commonly used is the submit input or submit button.

Submit Input

After filling in the data, the user clicks the submit button such that it gets processed. To set up a submit button, we use the element along with the 'type' attribute value as 'submit'. We also provide a 'value' attribute to contain the text we want to appear in the button.

Submit Button

For this we use the element. It performs in the same manner as the element having the ‘type’ attribute value as ‘submit’.