Latest

recent

HTML textarea name attribute

Example

A text area with a name attribute:
<textarea rows="3" cols="25" name="w3s_text">
1000source codes is to share tutorials on all programming languages 
 </textarea>


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

<textarea name="value">

Attribute Values

Value Description
name_of_textarea Specifies the name of a text area
HTML textarea name attribute Reviewed by 1000sourcecodes on 02:17 Rating: 5
Powered by Blogger.