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

5x^2=x+1 solve using completion of squares
What is the distance between the points (-1,-7) and (-1,4)
The primary goal of ________ is to get the right people interested in working for an organization or in a specific job, then persuade them to apply and ultimate
Write a hook relating to love is painful.
Which form of media allows the audience to share in and comment on the content immediatly
WILL MARK BRANLIEST!!!!! HELP ASAP!!!!!!! Salmon fossils are found more often than stingray fossils because: there were more salmon than stingrays salmon died m
Help pleaseeeeeeeeee
Planarians have eyespots that? A. See colors B. See predators C. Sense movement D. Avoid light
The 1988 case of Hazelwood v. Kuhlmeier differentiated between student newspapers sponsored by schools and those created solely by students, in stating that whi
What are all the linking verbs