Create an external CSS that has a class selector with two declarations (the first declaration for changing the text color and the second declaration for changing the text's background color). This formatting should apply for both headings and paragraphs.

New Perspectives on HTML5, CSS3, and JavaScript
6th Edition
ISBN:9781305503922
Author:Patrick M. Carey
Publisher:Patrick M. Carey
Chapter5: Designing For The Mobile Web: Creating A Mobile Website For A Daycare Center
Section5.1: Visual Overview: Media Queries
Problem 5QC
icon
Related questions
Question

HTML CSS Question 
1. Create an external CSS that has a class selector with two declarations (the first declaration for
changing the text color and the second declaration for changing the text's background color). This
formatting should apply for both headings and paragraphs. NOTE: create this formatting in ONE CSS
RULE.

Expert Solution
steps

Step by step

Solved in 3 steps with 3 images

Blurred answer
Knowledge Booster
Hyperlinks
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
New Perspectives on HTML5, CSS3, and JavaScript
New Perspectives on HTML5, CSS3, and JavaScript
Computer Science
ISBN:
9781305503922
Author:
Patrick M. Carey
Publisher:
Cengage Learning