Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Hyperlink vs Button

Searching for input about UI design patterns regarding the use of hyperlinks vs buttons.

A screen in a web application should/could have a mix of buttons and hyperlinks on it. It seems that the 'look' is the major governing factor as to which is used, but I want something more logical than that.

Does anyone know of any hard and fast rules about when to use each one?

Do you have guidelines of your own that you'd like to share?

Thanks.

like image 525
mikesigs Avatar asked Jan 08 '10 22:01

mikesigs


4 Answers

Links go places. Buttons send data places.

In a nutshell, if you have form data, have a button. Otherwise, don't.

like image 171
Quentin Avatar answered Dec 11 '22 16:12

Quentin


As others have said, but possibly a bit more general:

  • Links go places.
  • Buttons do things.

(ie more 'do things' is more general than 'send data'. Of course 'going' somewhere is 'doing' something, so I guess buttons do things besides go places.)

Usually. :-)

like image 24
tony Avatar answered Dec 11 '22 17:12

tony


Generally, buttons are used to submit forms, I.E. login, purchase order, etc.

Links, on the other hand are most often used to move between pages.

like image 24
zmbush Avatar answered Dec 11 '22 17:12

zmbush


In addition to the send/vs navigate difference that others have said, it is also important to consider that links can be bookmarked.

like image 29
Daniel Auger Avatar answered Dec 11 '22 15:12

Daniel Auger