labs.insert-title.com

HTML5 Forms

Of all the enhancements coming with HTML5 the ones I find most exciting are all about forms. The most interesting so far are the new field types and some of the built in functionality as shown below. Autofocus and Placeholder, talk about timesavers! I have not yet worked out exactly where contenteditable will come into play, but it's awesome too.

Some groovy HTML5 form examples:


<label for="field1">Autofocus</label>
<input id="field1" name="field1" type="text" autofocus />

<label for="field2">Placeholders</label>
<input id="field2" name="field2" type="text" placeholder="I am a placeholder" />

<p contenteditable="true">This sentence is editable!</p>






This sentence is editable!

Comments temporarily disabled for now, you can find me @joemaddalone