Horje

How to add A text area with a placeholder text - HTML placeholder Attribute

Textarea Example. The textarea placeholder attribute.
index.html
Example: HTML
<!DOCTYPE html>
<html>
<body>

<h1>The textarea placeholder attribute</h1>

Who are you?
<textarea rows="4" cols="50" placeholder="Describe yourself here..."></textarea>

</body>
</html>

Output should be:

How to add A text area with a placeholder text - HTML placeholder Attribute




Type:
html
Category:
Web Tutorial
Sub Category:
HTML Attribute
Uploaded by:
Admin