Website Developer Question:

Download Job Interview Questions and Answers PDF

Tell me what Are Pseudo-Classes In CSS?

Website Developer Interview Question
Website Developer Interview Question

Answer:

A Pseudo-Class is a CSS technique to set the style when the element changes its state.

For example.

Edit the style upon mouse hover event.
Set the style when an element gets focus.
Apply different styles for visited/unvisited links.
selector:pseudo-class {
property:value;
}

Download Website Developer Interview Questions And Answers PDF

Previous QuestionNext Question
Tell me what Is An ID Selector?Tell us what Is The Difference Between <Alert()> And <Confirm()> Popup Boxes?