The underline can be easily remove by using text-decoration property. The text-decoration property of CSS allows to decorate the text according to requirement. By setting the text-decoration to none to remove the underline from anchor tag.
How do you display a hyperlink without an underline in CSS?
The underline of the hyperlink can be removed with internal CSS by using a style tag with the property text-decoration as none.
How to remove hyperlink in CSS?
Answer: Use the CSS pointer-events Property
You can simply use the CSS pointer-events property to disable a link. The none value of this property specify the element is never the target of pointer events.