Bgcolor attribute doesnot work with <p> or heading tags why? And please tell which command does | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Bgcolor attribute doesnot work with <p> or heading tags why? And please tell which command does

1st Jun 2017, 8:40 AM
Apaar Seth
Apaar Seth - avatar
4 Answers
+ 1
Show your code please
1st Jun 2017, 8:56 AM
Calviղ
Calviղ - avatar
+ 1
<h1 style="background:#f00">Title Here</h1> <p style="background:#ff0">Paragraph here</p>
1st Jun 2017, 8:59 AM
Calviղ
Calviղ - avatar
+ 1
Thank u so much martin
1st Jun 2017, 12:42 PM
Apaar Seth
Apaar Seth - avatar
0
Thank u I was writing <p bgcolor="green"> but the command u told works why so? Bcoz when i use <th bgcolor="green"> it works with that tag
1st Jun 2017, 9:10 AM
Apaar Seth
Apaar Seth - avatar