This is an example of a HTML5 form using required and validate attributes. Back to User Agent Man HTML5 Forms article
required
validate
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