Question: We are using html and i need help with this part asap questions 1-4 1st question Write the CSS style rule (including selector and style
We are using html and i need help with this part asap questions 1-4
1st question
Write the CSS style rule (including selector and style declarations with correct syntax) to achieve the following style for the HTML below: Set both the Hi h3 element and the Here is our menu div to have a background color of green.
The HTML will not be modified.
Hi
- Location 1
- Location 2
Hello
Welcome to Pizza City
Pizzas
- Pepperoni
- Cheese
Sandwiches
- Philly
- Italian
Answer:
------------------------------------------------------------------------------------------------------
Question 2
Write the CSS style rule (including selector and style declarations with correct syntax) to achieve the following style for the HTML below:
Set all unordered lists that are inside the div with id food to have red text.
The HTML will not be modified.
Hi
- Location 1
- Location 2
Hello
Welcome to Pizza City
Pizzas
- Pepperoni
- Cheese
Sandwiches
- Philly
- Italian
Answer:
------------------------------------------------------------------------------------------------------------
Question 3
Write the CSS style rule (including selector and style declarations with correct syntax) to achieve the following style for the HTML below: Set only the h3 element containing Pizzas to have a background color of orange.
The HTML will not be modified.
Hi
- Location 1
- Location 2
Hello
Welcome to Pizza City
Pizzas
- Pepperoni
- Cheese
Sandwiches
- Philly
- Italian
Answer:
-------------------------------------------------------------------------------------------------------------
Question 4
Write the CSS style rule (including selector and style declarations with correct syntax) to achieve the following style for the HTML below: Set all h3 elements to have yellow text.
The HTML will not be modified.
Hi
- Location 1
- Location 2
Hello
Welcome to Pizza City
Pizzas
- Pepperoni
- Cheese
Sandwiches
- Philly
- Italian
Answer:
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
