In the following exercises, make use of the followingdeclarations (one per line): background-color: silver ; font-size: larger ;
These will be referred to as "the background declaration" and "the text declaration," respectively.
(a) Write CSS style rules that apply the background declaration to div elements and the text declaration to strong elements.
(b) Write a single style rule that applies both the background and text declarations to both p and em elements.
(c) Write a single style rule that applies the background declaration to HTML elements having a value of Nevada for their id attributes as well as to elements belonging to the shiny class
(d) Write a style rule that applies the text declaration to span elements that belong to the bigger class.
(e) Write a style rule that applies the text declaration to span elements that are descendants of other span elements.
(f) Write a style rule that
Answers
Answered by
0
SUBCRIBE THE CHANEL AND ANSWER पाए
Similar questions