Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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 applies the background declaration when the cursor hovers over a hyperlink

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

=+Where do you want to live and work?

Answered: 1 week ago

Question

=+1 Where are the best places in the world to live (and work)?

Answered: 1 week ago