The Most Secure Cross Browser Testing Platform since 2012

Blog

Cross Browser Input Placeholder Attribute

shutterstock_234378844
BLOG / Web Development

Cross Browser Input Placeholder Attribute

The placeholder attribute is the method of setting placeholder text for text-like input fields, to suggest the expected inserted information.

Browser Support

Input placeholder attribute is already supported by all major browsers so it should be really easy to get it working cross-browser.

Code Example

You can use input placeholder attribute like this:

<input type="text" placeholder="Your Name"></input>

More Information

More information can be found here.