Temporarily Disable HTML Anchor

To temporarily disable a link in a website that you’re authoring, say the code for the link is:

<a href="URL_goes_here">URL</a>

You can either use css like this:

<a style="pointer-events: none; cursor: default;" href="URL_goes_here">URL</a>

Or use javascript like this:

<a onclick="return false" href="URL_goes_here">URL</a>