This is an example of a HTML5 form using the placeholder attributes. It builds on the pattern and required attribute example and uses a placeholder to show which fields are required. Back to User Agent Man HTML5 Forms article

Personal Information

Thank you for giving to the Zoltan Hawryluk Entertainment Fund. Your contribution will ensure that Webmasters in Need will be able to buy beer when they would otherwise do without.

Form fields labelled * are mandatory

Full Name :
Required. If you would like to give anonymously, tough. We find people are more generous when their Good Name is on the line.
Company Name :
If you are unemployed, please leave blank.
Notes :
If you are unemployed, please leave blank.
Zip Code
Please enter a valid American zip code. Valid format is nnnnn or nnnnn-nnnn where n is a numeric digit.