Anchor Link Pseudo Classes

Most CSS developers know about the anchor link styles and :hover effects. But I wanted to include this small code snippet as a reference for newcomers. These are the four default states for an anchor link, and also a few other HTML elements. Keep this handy until you can memorize some of the more obscure ones.

Anchor Link Pseudo Classes CSS Code

a:link { color: blue; }

a:visited { color: purple; }

a:hover { color: red; }

a:active { color: yellow; }


Tags: link pseudo classes order, link pseudo-class selector, link pseudo classes, css link pseudo class color, css link pseudo classes active, link pseudo classes css, css link pseudo class examples, html link pseudo classes, order of link pseudo classes in css, css link pseudo classes order, order of link pseudo classes

About Admin

Hi I am Md. Masum Billah Contributor of this website. I always like to share various things with other. In this website I am sharing web design related tips and tricks, necessary web development tools, source codes for beginner and advance web developer. You may join with us to help other who want to learn web design and development. Thank you for stay with.

Leave a Reply

Your email address will not be published. Required fields are marked *