0

How to add background color?

I want to add color and styles in my document.

14th Nov 2016, 10:26 AM
Ritika Sharma
2 Answers
+ 2
<body> <div style="background-color:green; color:white; padding:20px;"> </body>
15th Nov 2016, 2:57 PM
anne_german
0
In HTML FILE <body class="body"> </body> In CSS File .body{ background-color:#c8e8e8; //background color color:#4c4c4c; //font color }
14th Nov 2016, 10:41 AM
Dhruv Saxena
Dhruv Saxena - avatar