English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
<textarea> das Placeholder-Attribut gibt einen kurzen Hinweis an, der die erwartete Wertigkeit des Textfeldes beschreibt. Dieser kurze Hinweis wird im Textfeld angezeigt, bevor der Benutzer einen Wert eingibt.
Textfeld mit Platzhaltertext:
<p> Wer sind Sie?</p> <textarea rows="4"cols="50" placeholder="Describe yourself here...">0" placeholder="Describe yourself here..."><textarea>:/Test and see ‹
Browser CompatibilityIEFirefoxOperaChrome
Note: 10Safari
Firefox, Opera, Chrome and Safari support the placeholder attribute.Note: 9 Internet Explorer
Definition and Usage
The placeholder attribute specifies a brief hint to describe the expected value of the text area.
difference between5 placeholder attribute is an HTML
SyntaxDescription<textarea placeholder="
Attribute Value | Value |
---|---|
Description | Specify a brief hint to describe the expected value of the text area. |