?Explain how pseudo-classes are used to style links.
What will be an ideal response?
?A hyperlink link color changes due to the use of pseudo-classes in a style sheet.Pseudo-classeschange the style of a link based on four link states: link, visited, hover, and active.A unique style for normal, visited, hover, and active links is defined by creating four separate style rules with a:link, a:visited, a:hover, and a:active as the selectors. A pseudo-class is attached to a selector with a colon to specify a state or relation to the selector to give the web developer more control over that selector.?The colon (:) is part of the pseudo-class and is placed between the selector and the pseudo-class.?The following is an example of a navigation :link pseudo-class:nav a:link {color: #FFFFFF;}The selectornav a:linkidentifies the color to apply to a navigation link that has not yet been visited or clicked. In this case, the initial link color is white.?The following is an example of a navigation :visited pseudo-class:nav a:visited {color: #000000;}The selectornav a:visitedidentifies the color to apply to a navigation link that has been visited or clicked. In this case, the link color is black.?The following is an example of a navigation :hover pseudo-class:nav a:hover {color: #FFFF00;}The selectornav a:hoveridentifies the color to apply to a navigation link while the pointer is hovering over the link. In this case, the link color is yellow. The :hover pseudo-class enhances the interactivity between the user and the webpage.?The following is an example of a navigation :active pseudo-class:nav a:active {color: #0066CC;}The selectornav a:active?identifies the color to apply to a navigation link when the link is being clicked or when it gains focus. In this case, the link color is blue.
You might also like to view...
A _____ satellite system employs many satellites that are spaced so that, from any point on the Earth at any time, at least one satellite is on a line of sight, each in an orbit at an altitude of less than 1,000 miles.
A. very small aperture terminal (VSAT) B. microwave C. low earth orbit (LEO) D. geostationary
In access you Cannot save all the Objects at once, you must save them one at a time.
a. true b. false
Online templates must be ________ before you can use them
Fill in the blank(s) with correct word
Case 7-1Lila is writing a program that includes Boolean expressions.Lila uses the operator ____ to indicate AND.
A. ! B. | | C. && D. ++