How do I make a link unclickable?

前端 未结 11 725
伪装坚强ぢ
伪装坚强ぢ 2020-12-08 19:37

Is there some CSS property or something that I can use with my anchor tag so as to make it unclickable or I HAVE to do stuff in code behind to get what I want?

11条回答
  •  没有蜡笔的小新
    2020-12-08 20:11

    including an onclick="return false" attribute on the anchor element does the trick. While this solution uses javascript and not css

提交回复
热议问题