In-reply-to » TIL: that the <button> element in HTML5 will cause a form to submit when clicked (instead of any other behaviour you expect) because <button> has a default value of, get this... type="submit".

@prologic@twtxt.net Surprisingly no. In my case I already had a regular <input type="submit"> in the form. It’s just the HTML5 spec, for some reason, that if a button has no type explicitly defined, it defaults to type="submit" LOL πŸ˜…

​ Read More