In this article we will learn about some of the frequently asked HTML programming questions in technical like “how to make a background color in html” Code Answer’s. When creating scripts and web applications, error handling is an important part. If your code lacks error checking code, your program may look very unprofessional and you may be open to security risks. Error or stack handling on html was simple and easy. An error message with filename, line number and a message describing the error is sent to the browser. This tutorial contains some of the most common error checking methods in HTML. Below are some solution about “how to make a background color in html” Code Answer’s.
html background color
xxxxxxxxxx
1
<html>
2
3
<body style="background-color:red;">
4
<p> test <p/>
5
<body/>
6
</html>
how to make a background color in html
xxxxxxxxxx
1
<body style="background-color: #fff">
2
<!---this will change the body color---!>
3
4
</body>
html how to change background color
xxxxxxxxxx
1
<body style="background-color:powderblue;">
2
<p style="background-color:tomato;">This paragraph has a red background.</p>
3
</body>
html color changing background
xxxxxxxxxx
1
@keyframes bgcolor {
2
0% {
3
background-color: #45a3e5
4
}
5
6
30% {
7
background-color: #66bf39
8
}
9
10
60% {
11
background-color: #eb670f
12
}
13
14
90% {
15
background-color: #f35
16
}
17
18
100% {
19
background-color: #864cbf
20
}
21
}
22
23
body {
24
-webkit-animation: bgcolor 20s infinite;
25
animation: bgcolor 10s infinite;
26
-webkit-animation-direction: alternate;
27
animation-direction: alternate;
28
}
how to edit colours in background html
xxxxxxxxxx
1
<html>
2
<body style="backgroung:red">
3
<body>
4
</html>
background-color html
xxxxxxxxxx
1
background-color=red;
2