HTML <textarea> name Attribute
Definition and Usage
name
Attribute specifies the name of the text area.
name
Attribute is used to reference elements in JavaScript, or to reference form data after submitting the form.
Example
Text area with name attribute set:
<form action="/action_page.php"> <textarea name="comment">ເຂົ້າຄວາມຂອງທ່ານຢູ່ບ່ອນນີ້...</textarea> <input type="submit"> </form>
Syntax
<textarea name="text">
Attribute Value
Value | Description |
---|---|
text | ກໍານົດຊື່ບໍລິເວນຂອງຄວາມຂຽນ. |
Browser Support
Chrome | Edge | Firefox | Safari | Opera |
---|---|---|---|---|
Chrome | Edge | Firefox | Safari | Opera |
Support | Support | Support | Support | Support |