Joshua has created a web page and implemented CSS in it. He has applied the style property to inline styles that can also be used with style rules and with style sheets. However, he wants to change a CSS rule in the stylesheet from
?
h2 {
color: blue;
}
?
to
?
h3 {
color: green;
font-size: 1.2em;
}
A. document.styleSheets[0].cssRules[1].selectorText = "h2";document.styleSheets[0].cssRules[1].style.color = "blue";document.styleSheets[0].cssRules[1].style.fontSize = "1.2em";
B. document.styleSheets[1].cssRules[0].selectorText = "h3";document.styleSheets[1].cssRules[0].style.color = "green";document.styleSheets[0].cssRules[1].style.fontSize = "1.2em";
C. document.styleSheets[1].cssRules[0].selectorText = "h2";document.styleSheets[1].cssRules[0].style.color = "blue";document.styleSheets[0].cssRules[1].style.fontSize = "1.2em";
D. document.styleSheets[0].cssRules[1].selectorText = "h3";document.styleSheets[0].cssRules[1].style.color = "green";document.styleSheets[0].cssRules[1].style.fontSize = "1.2em";
Answer: D
You might also like to view...
The ________ is (are) a set of suggestions on how to make your Web site more accessible and is (are) divided into a three-tier structure of checkpoints according to priority.
(a) World Wide Web Consortium (W3C). (b) Web Accessibility Initiative (WAI). (c) Web Content Accessibility Guidelines (WCAG). (d) WCAG’s Quicktips.
The default value of the security level in IE is Medium-high.
Answer the following statement true (T) or false (F)
A formula that references itself is called a(n) ________ reference
A) dependent B) absolute C) reliant D) circular
Only the position of guides that you create can be modified at a later time.
Answer the following statement true (T) or false (F)