exam questions

Exam 70-480 All Questions

View all questions & answers for the 70-480 exam

Exam 70-480 topic 1 question 43 discussion

Actual exam question from Microsoft's 70-480
Question #: 43
Topic #: 1
[All 70-480 Questions]

DRAG DROP -
You are developing a web page by using HTML5 and CSS3.
Hyperlinks on the page must be rendered with a style that reflects the last user action performed.
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.)
Select and Place:

Show Suggested Answer Hide Answer
Suggested Answer:
Reference:
As it states:
* a: hover MUST come after a: link and a: visited in the CSS definition in order to be effective!
* active MUST come after a: hover in the CSS definition in order to be effective!!
Reference: Meet the Pseudo Class Selectors; CSS Pseudo-classes http://css-tricks.com/pseudo-class-selectors/ http://www.w3schools.com/css/css_pseudo_classes.asp

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
[Removed]
Highly Voted 5 years, 3 months ago
I think that the correct answer is... :link :visited :hover :active Explain: https://www.w3schools.com/css/css_pseudo_classes.asp
upvoted 10 times
...
PhiDang
Highly Voted 5 years, 3 months ago
I think the correct answer is: :link :hover :active :visited
upvoted 5 times
...
nelaed
Most Recent 4 years, 10 months ago
The right order is one in question, so: a:link a:visited a:hoover a:active "As in CSS and HTML5 links can be standardized to follow color coding which helps user to understand which are link is visited and which is not. technically, A:hover must be placed after the A:link and A:visited rules, since otherwise the cascading rules will hide the 'color' property of the A:hover rule. Similarly, because A:active is placed after A:hover, the active color (lime) will apply when the user both activates and hovers over the A element." https://stackoverflow.com/questions/41989917/exam-70-480-css-order-of-anchor-elements
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...