Case-Based Critical Thinking Questions
?
Case 12-5
?
William has created the following style sheet rule for his website.
?
?
While creating the website, William wants to add a new style sheet rule to the code.
?
h3 {
color: magenta;
}
Identify the correct syntax for adding the style as the fifth rule in the accompanying code.
A. document.styleSheets[0].insertRule("h3 {color: magenta;}", 4);
B. document.styleSheets.insertRule[1]("h3 {color: magenta;}", 5);
C. document.insertRule[0]("h3 {color: magenta;}", 4);
D. document.insertRule[1].StyleSheets("h3 {color: magenta;}", 5);
Answer: A
You might also like to view...
Assigning a derived class reference to a base class variable is safe:
a. because the derived class has an object of its base class. b. because the derived class is an object of its base class. c. only when the base class is abstract. d. only when the base class is concrete.
Describe the queue in terms of the Model-View-Controller pattern.
What will be an ideal response?
Discuss how to determine the formulas and functions needed for a worksheet.
What will be an ideal response?
By default, documents, workbooks, and presentations that you create in Office 2013 are saved in ________ format
A) XSD B) XML C) XSL D) ASP