HTML Intro

HTML Intro Quiz

HTML Intro Exercise

HTML Basics

HTML Basic Quiz

HTML Basic Exercise

HTML Advance

HTML Advance Quiz

HTML Advance Exercise

HTML Tags List

HTML Global Attributes

HTML Attributes


HTML placeholder Attribute

HTML placeholder Attribute



The placeholder attribute is used to specify a short hint that describes the expected value for the given input field or textarea.


Used With:-


Elements Attribute
input placeholder
textarea placeholder




Its syntax is:- < element placeholder="value" >

Code Explanation

All Tutorials related to HTML Attributes

All Sections related to HTML