added html5 required attributes