Basics of Web Design: HTML5 & CSS3 (3rd Edition)
Basics of Web Design: HTML5 & CSS3 (3rd Edition)
3rd Edition
ISBN: 9780133970746
Author: Terry Felke-Morris, Terry Morris
Publisher: PEARSON
Expert Solution & Answer
Book Icon
Chapter 4, Problem 6RQ
Program Description Answer

The CSS code that is used to configure a class called “news” with red text and light gray background is “.news {     color:#FF0000;background-color: #EAEAEA;} ”.

Hence, the correct answer is option “B”.

Blurred answer
Students have asked these similar questions
a.menu {font-family : Verdana; font-weight : bold; font-size : 13px; } To use the CSS style above, which of the following should be done? "a.menu" class must be imported for a hyperlink menu. "a.menu" class must be imported for a hyperlink. "menu" class must be imported for a hyperlink. "a" class must be imported for a hyperlink.
Which is the correct CSS syntax? O body:color=black; {body:color=black;} {body;color:black;} body{color:black};
JavaScript function that serves as a constructor for the Car class.   The Car class is to contain the following:   Properties: Brand, Model, Year, OdometerMethods: Drive   Create a web page with three textboxes and two buttons. The textboxes are for entering a car's brand name, model and year. Of the two buttons one is to show "Enter" and the other "Drive". When clicking the "Enter" button, a new Car object is to be instantiated. Its properties are to be set by the values entered. When clicking the "Drive" button, the Odometer property is to be incremented by 1. Whenever the value in the odometer is divisible by ten, an alert box is to be displayed.
Knowledge Booster
Background pattern image
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
  • Text book image
    EBK JAVA PROGRAMMING
    Computer Science
    ISBN:9781337671385
    Author:FARRELL
    Publisher:CENGAGE LEARNING - CONSIGNMENT
Text book image
EBK JAVA PROGRAMMING
Computer Science
ISBN:9781337671385
Author:FARRELL
Publisher:CENGAGE LEARNING - CONSIGNMENT