HTML | <input> required Attribute
The HTML required Attribute is a Boolean attribute which is used to specify that the input element must be filled out before submitting the Form.
This attribute works with other types of input like radio, checkbox, number, text, etc.
Example-1: This Example that illustrates the use of required attribute in input Element.
Attention reader! Don’t stop learning now. Get hold of all the important HTML concepts with the Web Design for Beginners | HTML course.
Example-2: This Example that illustrates the use of required attribute in input Element.
Supported Browsers: The browser supported by HTML input required Attribute are listed below:
- Google Chrome
- Internet Explorer