Re:The Button Cheat Sheet
by avocadoLife on Tuesday May 25, 2021 @11:27AM
(#27278097)
I've heard this rule of thumb:
If it is supposed to be a meaningful link - be it internal or external - use a direct anchor element with an href. Styling it however you like shouldn't hurt.
Otherwise, for any other interactions use a <button> element
If it is supposed to be a meaningful link - be it internal or external - use a direct anchor element with an href. Styling it however you like shouldn't hurt.
Otherwise, for any other interactions use a <button> element