HTML <textarea> placeholder Attribute
A text area with a placeholder text:
Try it yourself »
The placeholder attribute is supported in Internet Explorer 10, Firefox, Opera, Chrome, and Safari.
Note: The placeholder attribute of the <textarea> tag is not supported in Internet Explorer 9 and earlier versions.
Definition and Usage
The placeholder attribute specifies a short hint that describes the expected value of a text area.
The hint is displayed in the text area when it is empty, and disappears when the field gets focus.
Differences Between HTML 4.01 and HTML5
The placeholder attribute is new in HTML5.
|text||Specifies a short hint that describes the expected value of the text area|
HTML <textarea> tag
Thank You For Helping Us!
Your message has been sent to W3Schools.