Brain Food for Web Developers

HTML5 Logo

July 3, 2011
by Graham
Comments Off on Writing HTML5 Forms

Writing HTML5 Forms

Although HTML5 is becoming more popular with coders, there are still those who are hesitant about adopting the latest markup for fear of the lack of support from older browsers. Luckily, there are some cool new HTML5 form attributes that degrade gracefully in older browsers (even IE6!).

This summary of some new attributes will discuss HTML5 autofocus field, placeholder text, form validation as well as new input types (email, numbers, URL, etc.).

Continue reading