In HTML4, the input, button, and other form-related elements had to be contained within the form element. In HTML5, that restriction has been removed, and you can associate elements with forms anywhere in the document.
The button element is more flexible than it might first appear. There are three ways you can use button. Check out all properties about it!
You can disable multiple input elements in a single step by applying the disabled attribute to the fieldset element. Check out how to do it!
You grouped your input elements together, but you still lack context for the user. You can remedy this by adding a legend element to each of your fieldset elements.
As you build more complex forms, it can be convenient to group some of the elements together, which you can do using the fieldset element.
The name attribute lets you set a unique identifier for a form so that you can distinguish between forms. By using the label element, lets you provide some context for each element in a form.
You can disable input elements so that the user cannot enter data into them. Check out all properties about it!
The default behavior of a browser is to replace the page that contains the form with the response that the server returns after the form has been submitted.
Browsers aid the user by remembering the data they have entered into forms and offering to reuse that data automatically when a similar form is seen again.
The enctype attribute specifies how the browser encodes and presents the data to the server. Check out all properties about it.