English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
A propriedade name especifica o nome da área de texto. A propriedade name é usada para referenciar elementos no JavaScript ou para referenciar dados do formulário após o envio.
Text area with name attribute:
<form action="action_page.php"> <textarea rows="6" cols="60" name="comment"> Enter text here...</textarea> <input type="submit"> </form>Test and see ‹/›
IEFirefoxOperaChromeSafari
All major browsers support the name attribute.
The name attribute specifies the name of the text area.
The name attribute is used to reference elements in JavaScript, or to reference form data after submitting the form.
None.
<textarea name="text">
Value | Description |
---|---|
text | Specify the name of the text area. |