Add HTML5 validation