In this tutorial, We will introduce you about the placeholder attribute of the <textarea> tag in html5. This attribute is used to specify the help tips regarding the input textarea to be filled by user. This shows the disabled text in the textarea and disappear when user focus on the textarea.
The attribute is used as in the <textarea> tag:
|<textarea placeholder="value">Text Here</textarea>|
This attribute have any string value related to the help tips.
Difference between html4.01 and html5
This attribute is new in the html5.
Posted on: September 17, 2010 If you enjoyed this post then why not add us on Google+? Add us to your Circles