You can simply use the CSS text-decoration property with the value none to remove the underline from the link or hyperlink. Let's try out the following example and see how it basically works:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Remove Underline from Link Using CSS</title>
<style>
a:link, a:visited, a:hover, a:active {
text-decoration: none;
}
</style>
</head>
<body>
<p><a href="https://www.tutorialrepublic.com/">Click Me</a></p>
</body>
</html>
Use the CSS
text-decorationPropertyYou can simply use the CSS
need an explanation for this answer? contact us directly to get an explanation for this answertext-decorationproperty with the valuenoneto remove the underline from the link or hyperlink. Let's try out the following example and see how it basically works: