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