Share it

Bookmark and Share

Translate

Monday, June 25, 2012

0 HTML5 placeholder Attribute

HTML5 placeholder Attribute
HTML5 has introduced many features to the browser;  some HTML-based, some in the form of JavaScript APIs, but all of them useful.  One of my favorites if the introduction of the placeholder attribute to INPUT elements.  The placeholder attribute shows text in a field until the field is focused upon, then hides the text.
Example:
<input id="name" name="first_name" placeholder="Your first name..." type="text">

0 comments:

Post a Comment

Thanks for your valuable Comment

 

TechnoTipworld- Tips,Tricks,Technology Copyright © 2011 - |- Template created by O Pregador - |- Powered by Blogger Templates