DEV Community

loading...

Discussion on: How to create an HTML button that acts like a link?

link2twenty profile image
Andrew Bone

These are probably the best ways to use a button as an anchor with the former being best.

Thread Thread
adam_cyclones profile image
Adam Crockett

Sorry my friend it's not valid HTML5 according to the HTML5 Spec Document from W3C:

html.spec.whatwg.org/multipage/tex...

Still works I guess