Change href Hyperlink color | Customize Hyperlinks HTML and CSS

admin
By -
0

 



For Changing  Colour Value of Hyperlinks First We have to  Create an Link with Html body like this

Step 01: We have to create an <a>Link</a> with class attribute name .links


<html>
<head>
</head>
<body>
<div>
<a href="#" class="links">Link1</a>
<a href="#" class="">Link2</a>
</div>
</body>
</html>


Step 02: Now We have Add Inherit Property to color into internal css  like this

<style>
.links{
color:inherit;


font-size:30px;
text-decoration:none;
font-family:sans-serif;
}
.links:hover{
color:green;
}
</style>





For More You Can Check this full tutorial 





Tags:

Post a Comment

0Comments

Put Your Thought or Query Here

Post a Comment (0)