0
When and why does the color of the background not change in html page???please help me
<!DOCTYPE html> <html><head><title>apply background colour</title></head><body style="bg color:red;"><h1>my first program with you</h1></body></html>
4 ответов
+ 2
Thanks
+ 1
Hello there!
You need to share your code link for people to review, otherwise no one knows exactly what is wrong, left alone how to assist you through.
Follow the below guide to share links 👇
https://www.sololearn.com/post/75089/?ref=app
+ 1
To set background-color to a tag set this attribute
style="background-color:red;"
in that tag.
0
Feel Beauty Happy
<!DOCTYPE html>
<html>
<head> <title> apply background colour </title> </head>
<body bgcolor=red>
<h1> my first program with you </h1>
</body>
</html>