Making input buttons act like <a>'s without JavaScript

Posted by Pieter on Stack Overflow See other posts from Stack Overflow or by Pieter
Published on 2010-05-17T15:06:35Z Indexed on 2010/05/17 15:10 UTC
Read the original article Hit count: 192

Filed under:
|
|

I know that I can assign an onclick action to <input type="button"-style buttons. But is it possible to let it behave like an <a> without using JavaScript? I ask because I'm in a situation where technically I'm better off using <a>'s, but buttons look nicer.

© Stack Overflow or respective owner

Related posts about html

Related posts about input