HTML Required AttributeThe HTML Required attribute is a Boolean attribute which specifies that the input element must be filled out before the submission of form. This attribute used with the following elements:
<input>We can easily use the required attribute with the <input> element as shown in the following syntax: Example Test it NowOutput: <select>We can easily use the required attribute with the <select> element as shown in the following syntax: Example Test it NowOutput: <textarea>We can also easily use the required attribute with the <textarea> element as shown in the following syntax: Example Test it NowOutput: Browser Support
Next TopicHTML Space Code |
We provides tutorials and interview questions of all technology like java tutorial, android, java frameworks
G-13, 2nd Floor, Sec-3, Noida, UP, 201301, India