html link style code example
Example 1: link style css to html
<link rel="stylesheet" type="text/css"href="style.css">
Example 2: css a link style
a:link { color: #000; text-decoration: none; border: none; }
a:visited { color: #000; }
a:hover { color: #000; border: none; }
a:active { color: #000; }
Example 3: how to change hyperlink color in css
a {
background-color: red;
color: white;
padding: 1em 1.5em;
text-decoration: none;
text-transform: uppercase;
}
Example 4: css how to style a
a:link{
color: green;
}
a:visited{
color: purple;
}
a:hover{
color: yellow;
}
a:active{
color: brown;
}