anchor disabled href using css code example Example: html disable anchor link a.isDisabled { pointer-events: none; }