Placeholder attribute is the method of setting placeholder text for text-like input fields, to suggest the expected inserted information.
Input placeholder attribute is already supported by all major browser so it should be really easy to get it working cross browser.
You can use input placeholder attribute like this:
<input type="text" placeholder="Your Name"></input>
More information can be found here.