11 ms·
Conceptually, those are links, not buttons. Buttons are for forms and JavaScript and such.
by wizzwizz4 6y ago
Conceptually, those are links, not buttons. Buttons are for forms and JavaScript and such.
- codazoda 6y agoFair. I would typically us a form tag with an input tag inside it for forms. Sounds like the button tag can be styled a little more because it allows i, em, br, img, and similar tags inside it, while an input does not. They are interchangable in the case of a form (based on your style need).
- petepete 6y agoThere are more ways to interact with a link than a button. You can drag it to your tab bar, bookmarks or desktop, middle click to open in a new tab, copy the target URL etc. With a button you can push it.