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?
If you want to use CSS :
.x{ pointer-events: none; }
Page Title Unclickable Google Link Clickable Google Link