How does one push the html5 envelope safely with input elements or anything else?

I am reading http://www.w3schools.com/html5/html5...nput_types.asp and wonder how to use spring and yet have things like
<input type="email" name="user_email" />
in our JSPs