Skip to content

Instantly share code, notes, and snippets.

@devdays
Created November 30, 2014 18:22
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save devdays/d52e516544821d5f5c8e to your computer and use it in GitHub Desktop.
HTML5 Pattern
<label for="price">Price</label>
<input id="price" type="text" title="0.00" pattern="\d+(\.\d{2})?" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment