HTMLHint
HTMLHint copied to clipboard
button type
This is an enhancement request to add a warning when a button element is inside a form and does not have a set type attribute.
As you may already know, if a button does not have a set or invalid type
attribute, the type defaults to submit
(ref). Activating that button will submit the form and may not produce the desired effect.
Activity!
Activity!