PrepAway - Latest Free Exam Questions & Answers

In what order should you specify the four anchor selectors?

DRAG DROP
You are developing a web page by using HTML5 and CSS3. Styles must be defined for all hyperlinks on the page so that the applied style reflects the last user action.
You need to style the four anchor elements in the document.
In what order should you specify the four anchor selectors? (To answer, move the appropriate anchor selectors from the list of CSS codes to the answer area and arrange them in the correct order.)

A.

Explanation:
<<<Already in Correct order (link > Visited > Hover> Active)
You can learn about the anchor pseudo-classes here:http://www.w3schools.com/css/css_pseudo_classes.
asp
As it states:
Note: a:hover MUST come after a:link and a:visited in the CSS definition in order to be effective!!
Note: a:active MUST come after a:hover in the CSS definition in order to be effective!!

7 Comments on “In what order should you specify the four anchor selectors?


Leave a Reply