Easy Tutorial
❮ Av Prop Volume Att Textarea Maxlength ❯

HTML <textarea> name Attribute

HTML <textarea> Tag

Example

A text area with the name attribute:


Browser Support

All major browsers support the name attribute.


Definition and Usage

The name attribute specifies a name for the text area.

The name attribute is used to reference elements in JavaScript, or to reference form data after a form is submitted.


Differences Between HTML 4.01 and HTML5

None.


Syntax

Attribute Values

Value Description
text Specifies the name of the text area.

❮ Av Prop Volume Att Textarea Maxlength ❯