• #dev 2021-06-06
  • Prev
    Next
  • #indieweb
  • #dev
  • #wordpress
  • #meta
  • #stream
  • #microformats
  • #known
  • #events
#dev ≡
  • ←
  • →
2021-06-06 UTC
# 10:24
Zegnat
A button element, by default (if nothing set) has the type "submit". If your button is not submitting a form, it is better to set it to type="button". This means browsers still treat it as a button, but will know it does not need to find form actions to associate with it.