Search code examples
htmlhyperlinkanchorplaceholderclickable

Non-clickable placeholder needed


I am building a site for a client that will eventually need button links and need to be clickable. For now, though, I would just like a placeholder anchor tag for future use, but I DON'T want it to be clickable. Is there a way to do this? Below, the 'small red button' is a clickable link, but doesn't go anywhere. I just don't want to confuse the client when they see the mockup and the link doesn't work.

<a href="#" class="small-red-button">What&rsquo;s <strong>New</strong></a> 

Thanks! And sorry if this is a newbie question.

EDIT: It worked like this, as suggested:

<a class="small-red-button">What&rsquo;s <strong>New</strong></a> 

Thanks everyone!


Solution

  • Take the href attribute out. It is what makes an anchor element into a link.