HTML <textarea> name attribute
HTML <textarea> tag
Example
A text area with a name attribute:
<textarea rows="3" cols="25"
name="w3s_text">
At W3Schools you will find all the Web-building tutorials you need, from
basic HTML to advanced XML, SQL, ASP, and PHP.
</textarea> |
Try it yourself!
|
Definition and Usage
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.
Browser Support

The name attribute is supported in all major browsers.
Syntax
Attribute Values
Value |
Description |
name_of_textarea |
Specifies the name of a text area |
HTML <textarea> tag
Whether you're new to XML or already an advanced user, the user-friendly views
and powerful entry helpers, wizards, and debuggers in XMLSpy are designed to
meet your XML and Web services development needs from start to finish.
- XML editor
- Graphical XML Schema / DTD editors
- XSLT 1.0/2.0 editor, debugger, profiler
- XQuery editor, debugger, profiler
- Support for Office Open XML (OOXML)
- Graphical WSDL editor & SOAP debugger
- Java, C#, C++ code generation
- And much more!
Download a fully functional free 30-day trial today!
|