support html5 input types