0 votes
114 views
in HTML by (3.5k points)
edited

How to change background color in HTML?

1 Answer

0 votes
by (3.5k points)
edited

 

<!DOCTYPE html>
<html>
<body style="background-color:powderblue;">
 
<h1>This is a sample 1</h1>
<p>This is a sample 2.</p>
 
</body>
</html>

 

Related questions

0 votes
1 answer 103 views
asked Aug 19, 2022 in HTML by codelikepro (3.5k points)
0 votes
1 answer 114 views
asked Aug 19, 2022 in HTML by codelikepro (3.5k points)
0 votes
1 answer 117 views
asked Aug 19, 2022 in HTML by codelikepro (3.5k points)
0 votes
1 answer 95 views
asked Aug 19, 2022 in HTML by codelikepro (3.5k points)
0 votes
1 answer 71 views
0 votes
1 answer 104 views
asked Aug 19, 2022 in HTML by codelikepro (3.5k points)

Doubtly is an online community for engineering students, offering:

  • Free viva questions PDFs
  • Previous year question papers (PYQs)
  • Academic doubt solutions
  • Expert-guided solutions

Get the pro version for free by logging in!

5.7k questions

5.1k answers

108 comments

537 users

...