how to remove blue color from hyperlink in html?

how to remove blue color from hyperlink in html Set the text-decoration Property to none and Use Pseudo-Classes for Selection and Remove the box-shadow Property to Remove the Underline and Color From a Link in CSS.

how to remove blue color from hyperlink in html

How to remove the default link color of the html hyperlink ‘a’ tag?

a { color: inherit; } 

Remove Blue Underline From Link in CSS

Set the text-decoration Property to none Example Code:

Welcome Page Next Page
.container a {
  color: #FF0000;
  text-decoration: none;
}

Use Pseudo-Classes for Selection

Welcome Page
Next Page
a:link, a:visited,  a:hover, a:active
{
    color: #000000;
    text-decoration: none;
}

Remove the box-shadow Property

box-shadow: inset 0 -3px 0 0 #bdb;
Welcome Page
.welcomePost {
  color: green;
  box-shadow: inset 0 -3px 0 0 red;
  box-shadow: none;
}

how to remove the blue link color in html?

remove styling from a tag

 a, a:hover, a:focus, a:active {
      text-decoration: none;
      color: inherit;
 }

Don’t Miss : Remove Underline From Link Css

I hope you get an idea about how to remove blue color from hyperlink in html.
I would like to have feedback on my infinityknow.com blog.
Your valuable feedback, question, or comments about this article are always welcome.
If you enjoyed and liked this post, don’t forget to share.

Leave a Comment