5.1. Distinguish buttons from links

Limit the use of buttons for actions and links for navigation.

Buttons

Button elements <button> / <input /> are for triggering an action.

They are to be used in cases such as submitting information, displaying the next or previous image in a carousel, closing a modal dialogue box, etc.

Links

Links <a> are for navigation.

They are used to move to another page or to a specific area of the current page, by means of an anchor system.

Comments

Add a comment

All fields are mandatory.

Back to top