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>

25th Aug 2020, 1:59 AM
Beauty Priya Aparajita Singh
Beauty Priya Aparajita Singh - avatar
4 Respuestas
+ 2
Thanks
25th Aug 2020, 7:20 AM
Beauty Priya Aparajita Singh
Beauty Priya Aparajita Singh - avatar
+ 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
25th Aug 2020, 2:34 AM
Ipang
+ 1
To set background-color to a tag set this attribute style="background-color:red;" in that tag.
25th Aug 2020, 4:32 AM
Divya Mohan
Divya Mohan - avatar
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>
25th Aug 2020, 10:29 AM
Jayakrishna 🇮🇳