PrepAway - Latest Free Exam Questions & Answers

what order should you specify the four anchor selectors?

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 useraction.
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.)

PrepAway - Latest Free Exam Questions & Answers

Answer:

Explanation:

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!!


Leave a Reply