make an anchor tag inactive

Solutions on MaxInterview for make an anchor tag inactive by the best coders in the world

showing results for - "make an anchor tag inactive"
Stacey
28 Mar 2019
1<style>
2.disabled-link {
3  pointer-events: none;
4}
5</style>
6<a href="https://google.com" class="disabled-link">Google.com</a>
7