Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Javascript
document.body.style.background
Lacklub
Programming language:
Javascript
2021-07-16 15:35:35
0
Q:
document.body.style.background
Lofty Withers
Code:
Javascript
2021-06-03 23:51:32
// Change the background color to red document.body.style.backgroundColor = "red";
0
Tags
background
Related
set an attribute background image javascript
reference body js
set content of body in javascript
set attribute javascript background image
x.innerHTML += document.body.appendChild(x); x.style.width="100px";
New to Communities?
Join the community