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:
<div class="container"> <span class="welcomePost">Welcome Page</span> <a href="#"><span class="otherPage">Next Page</span></a> </div>
.container a { color: #FF0000; text-decoration: none; }
Use Pseudo-Classes for Selection
<span class="welcomePost">Welcome Page</span> <a href="#"><span class="otherPage">Next Page</span></a>
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;
<span class="welcomePost">Welcome Page</span>
.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.
I am Jaydeep Gondaliya , a software engineer, the founder and the person running Pakainfo. I’m a full-stack developer, entrepreneur and owner of Pakainfo.com. I live in India and I love to write tutorials and tips that can help to other artisan, a Passionate Blogger, who love to share the informative content on PHP, JavaScript, jQuery, Laravel, CodeIgniter, VueJS, AngularJS and Bootstrap from the early stage.