Pergunta de entrevista da empresa Mindera

For navigation links, should you use an anchor () or a button () in HTML?

Resposta da entrevista

Sigiloso

26 de jul. de 2025

For navigation, you should use an anchor tag () because it is meant for navigation and supports URLs. A button () is used for actions like submitting a form or triggering events, not for navigation.