BUTTON tag vs A tag

Using modern JavaScript frameworks, it does not play a hige role - from a functual perspective - what element you attach an action to. Lately, I recognized a mixture of A tags and BUTTON tags, both used for actions and links. My rule is the following:

  • BUTTON for actions
  • A for links


52 Words

2017-04-21 16:23 +0000