Skip to content

Instantly share code, notes, and snippets.

@Aziz-Rahman
Created February 16, 2015 04:24
Show Gist options
  • Save Aziz-Rahman/e7900131d7e2ac1b2105 to your computer and use it in GitHub Desktop.
Save Aziz-Rahman/e7900131d7e2ac1b2105 to your computer and use it in GitHub Desktop.
HTML5 form
<!DOCTYPE html>
<html>
<body>
<!-- Example -->
<form action="">
<input type="number" name="quantity" min="1" max="5">
<input type="date" />
<input type="time" />
<input type="month" />
<input type="range" min="1" max="10" />
<input type="search" />
<input type="url" />
<input type="week" />
<input type="color" name="favcolor" value="#ff0000">
<!-- etc -->
</form>
</body>
</html>
<!-- http://www.paulund.co.uk/html5-form-validation? -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment