Form elements
HTML
<script src="http://modernizr.com/downloads/modernizr-latest.js"></script>
<script src="http://afarkas.github.com/webshim/demos/js-webshim/minified/polyfiller.js"></script>
<form>
Email <input type="email" autofocus required spellcheck="false" x-moz-errormessage="Custom FF erroe message" id="email"><br>
Url <input type="url"><br>
Tel <input type="tel" name="tel"><br><br>
Date <input type="date"><br>
datetime <input type="datetime"><br>
datetime-local <input type="datetime-local"><br>
day <input type="day"><br>
week <input type="week"><br>
month <input type="month"><br>
time <input type="time"><br><br>
search <input type="search"><br>
color <input type="color"><br>
number <input type="number"><br>
number with step <input type="number" step=5><br>
range <input type="range"><br>
range with step <input type="range" step=5><br>
Placeholder <input type="text" placeholer="Placeholder"><br>
List <input type="text" list="planetdata"><br>
<datalist id="planetdata">
<option value="Earth">
<option value="Venus">
<option value="Mars">
<option value="Fomalhaut b">
<option value="HR 8799">
</datalist>
Pattern, letters only <input type="text" name="pattern-test" pattern="[A-Z]" title="letters only"><br>
<meter max=100 value=50>50%</meter><br>
<progress max=100 value=50>50%</progress><br><br>
<h2>Non standart<h2>
Webkit speech <input type="text" x-webkit-speech><br><br>
<input type="submit" formnovalidate value="Save">
<input type="submit">
</form>
JavaScript
jQuery.webshims.polyfill('forms');
if(!Modernizr.inputtypes.range){
alert(1);
$.webshims.polyfill("forms-ext");
}