A text area with a name attribute:
The name
attribute specifies a name for a text area.
The name
attribute is used to reference elements in a JavaScript, or to reference form data after a form is submitted.
<textarea name="text">
Value | Description |
---|---|
text | Specifies the name of the text area |
Example:
HTML
<form action="/action_page.php">
<label for="text">Type</label><br>
<textarea rows="4" cols="50" name="comment">
Enter text here...</textarea>
<input type="submit">
</form>
Type: | Html |
Category: | Web Tutorial |
Sub Category: | HTML Tag |
Uploaded by: | Admin |