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
Share this article :
 
Copyright © 2012. Best Online Tutorials | Source codes | Programming Languages - All Rights Reserved