... lighten the color of the font in your CSS, or otherwise make it look morelike a native placeholder. When the user focuses on the input with the faux place-holder, the script clears the value and ... attribute. For each of them, wecheck that the value isn’t empty, then replace that value with the value of the placeholder attribute. In the process, we add the placeholder class to the element,so ... answer, and mostpeople do a bit of both. Sharing your knowledge benefits others and strengthens the community. A lot of interesting and experienced web designers and developershang out there....