Locked lesson.
About this lesson
Learn to style links. Understanding active, hover, and visited formatting as well as text decoration.
Exercise files
Download this lesson’s related exercise files.
Links.docx58.9 KB Links - Solution.docx
58.9 KB
Quick reference
Links
In this video we'll learn how to style links.
When to use
Use these selectors any time you want to style links.
Instructions
To style basic links, use the a selector:
a:link { }
To style hovered links, use:
a:hover { }
To style links that we will click on, use:
a:active { }
To style links that we have already visited, use:
a:visited { }
Hints & tips
- Basic Links: a { }
- Hover Links: a:hover { }
- Active Links: a:active { }
- Visited Links: a:visited { }
Lesson notes are only available for subscribers.