HTML5 has introduced many interesting and usefull features like semantic tags , javascipt API’s form, Audio, video and many more. among them one of my favorites is the placeholder attribute to INPUT elements. The placeholder attribute shows text in a field until the field is focused upon, then hides the text.
HTML5 placeholder code:
- <input type=“text” name=“employee_first_name” placeholder=“Employee first name…”>