A text area with a placeholder text:
![]()
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.
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.
The placeholder attribute is new in HTML5.
| Value | Description |
|---|---|
| text | Specifies a short hint that describes the expected value of the text area |
HTML <textarea> tag
Your message has been sent to W3Schools.