CSS Q1. By using the program below: Kindly change the color of the element with id="para1", to "red".   This is a Heading This is a paragraph. This is another paragraph.

New Perspectives on HTML5, CSS3, and JavaScript
6th Edition
ISBN:9781305503922
Author:Patrick M. Carey
Publisher:Patrick M. Carey
Chapter9: Getting Started With Javascript: Creating A Countdown Clock
Section: Chapter Questions
Problem 11CP1
icon
Related questions
Question

CSS

Q1. By using the program below: Kindly change the color of the element with id="para1", to "red".

<!DOCTYPE html>

<html>

<head>

</head>

<body>

 

<h1>This is a Heading</h1>

<p id="para1">This is a paragraph.</p>

<p>This is another paragraph.</p>

 

</body>

</html>

 

Q2. By using the program below: Kindly use CSS, Set the text color for the page to "red", and the text color for <h1> to "blue".

<!DOCTYPE html>

<html>

<head>

<style>

</style>

</head>

<body>

 

<h1>This is a Heading</h1>

<p>This is a paragraph.</p>

<p>This is another paragraph.</p>

 

</body>

</html>

 

Q3. By using the program below: Kindly Change the color of all elements with the class "colortext", to "red".

 

<!DOCTYPE html>

<html>

<head>

</head>

<body>

 

<h1>This is a Heading</h1>

<p>This is a paragraph.</p>

<p class="colortext">This is another paragraph.</p>

<p class="colortext">This is also a paragraph.</p>

 

</body>

</html>

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps

Blurred answer
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