0
How to add background color?
I want to add color and styles in my document.
2 Answers
+ 2
<body>
<div style="background-color:green; color:white; padding:20px;">
</body>
0
In HTML FILE
<body class="body">
</body>
In CSS File
.body{
background-color:#c8e8e8; //background color
color:#4c4c4c; //font color
}