Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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