अवलोकन
backgroundColor प्रॉपर्टी एलिमेंट का बैकग्राउंड रंग सेट या प्राप्त करती है।
उदाहरण
<!DOCTYPE html> <html> <body> <button onclick="display()">Click to Set background Color</button> <script> function display() { document.body.style.backgroundColor = "blue"; } </script> </body> </html>