HTML & CSS for Beginners Part 15: How to style links

Kevin Powell on YouTubeWatch on YouTube

SaveMark complete

Sign in to save videos and track what you’ve finished.

BeginnerUI14 min

About this video

A beginner-friendly lesson on why links do not inherit text colour changes and how to style them with CSS. It covers the a:link, a:visited, a:hover, a:active and a:focus pseudo-classes.

What you’ll learn

  • Change the colour of links with CSS
  • Style visited, hover, active and focus link states
  • Understand why links ignore inherited text colour