Re:The unreasonable effectiveness of simple HTML
by wizzwizz4 on Wednesday January 27, 2021 @02:52PM
(#25933042)
Conceptually, those are links, not buttons. Buttons are for forms and JavaScript and such.
[ Parent
| on HN ]
Re:The unreasonable effectiveness of simple HTML
by codazoda on Wednesday January 27, 2021 @03:13PM
(#25933314)
Fair. 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).
Re:The unreasonable effectiveness of simple HTML
by petepete on Thursday January 28, 2021 @03:22AM
(#25939505)
There 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.