Live Chat Icon For mobile
Live Chat Icon

What are pseudo classes?

Platform: ASP.NET| Category: CSS Styles and Themes

Pseudo-classes are fictional element types that do not exist in HTML. For eg : by creating fictional types of the A element individual style can be applied to each class The three fictional element types are: A as unvisited link, A as active link and A as visited link. Pseudo-classes can be created by a colon followed by pseudo-class’s name as:


A:link {background: cyan; color: blue}
A:active {background: transparent; color:black}
A:visited {background: cyan; color: red}
Click Here

Share with

Share on twitter
Share on facebook
Share on linkedin

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.