Home | All Questions | alt.html FAQ >

How do I make two different link styles in the external style sheet?

For the first or main links:

a:link {color:blue}
a:hover {color:red}

For secondary links:

.r {color:whatever}
.r:link {color:green}
.r:hover {color:brown}

Then in your html:

<a class="r" href="link.html">Secondary Link</a>

Recommended Resources

Discussion

Related Questions