Skip to content

Instantly share code, notes, and snippets.

@rivancic
Created June 21, 2017 19:33
Show Gist options
  • Save rivancic/31e49121fbfe5c852077eeff1062964c to your computer and use it in GitHub Desktop.
Save rivancic/31e49121fbfe5c852077eeff1062964c to your computer and use it in GitHub Desktop.
HTML 5

Button

There are 3 different types of buttons:

  • Submit (default)
  • Reset
  • Button

<button type="">

Please use type of button explicitly everywhere to avoid ambuiguity.

http://html.com/attributes/button-type/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment