HTML5 "required" attribute

Add support for HTML5 required attribute