A form with a required text area.
The required
attribute is a boolean attribute.
When present, it specifies that a text area is required/must be filled out (in order to submit the form).
The numbers in the table specify the first browser version that fully supports the attribute.
<textarea required>
Example:
HTML
<form action="/action_page.php">
<label for="text">Type</label><br>
<textarea rows="4" cols="50" name="comment" required>
</textarea>
<input type="submit">
</form>
Type: | Html |
Category: | Web Tutorial |
Sub Category: | HTML Tag |
Uploaded by: | Admin |