How to add background color to a div? What is the code of div style background?
You can use the following code:
<div style="background-color: #ccffcc;"> <p>Content</p> </div>
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.