arturocarmena10
arturocarmena10 arturocarmena10
  • 04-07-2019
  • Computers and Technology
contestada

how to change the background color of a section in html

Respuesta :

kashif4you
kashif4you kashif4you
  • 04-07-2019

Answer:

You should have a line on which you can add information below the <style> tag and above </style> tag. simply add the body tag  after <style> tag.

Explanation:

From the below code you can understand it how you can change the background color of a section in html.

<!DOCTYPE html>

<html>

<head>

<style>

body {

       background-color: #afafaf;

}

h {

background-color: #00b33c;

}

p {

background-color: #00d33c;

}

</style>

</head>

<body>

<h1>Header with green background</h1>

<p>Paragraph with lite green background</p>

</body>

</html>

Answer Link

Otras preguntas

The organ with the most acidic contents in the digestive system is the a. pancreas c. stomach b. mouth d. small intestine
How is the value of 2 in the number 542 different than the value of 2 in the number 324?
you have 4 gallons of gas in your car. Your car gets 23 miles per gallon. How many miles can you drive?
Multiply. –7 ∙ 8 a. –56 b. –1 c. 1 d. 56
One coin is randomly selected from a jar containing 20 pennies, 15 nickels, 3 dimes, and 12 quarters. What is the odds of a value less than $0.05
Which list is organized from SMALLEST to LARGEST? It is Planet,Solar System,Galaxy,Universef
4.5ft is what circumference of a circle
What is the area of a rectangle with vertices at (4, 3), (11, 3), (11, 9), and (4, 9)?
A camera is an example of ____. a. an experiment c. technology b. a robot d. a scientific method
What is another word for cytosol