अवलोकन
document.body प्रॉपर्टी दस्तावेज़ के <body> तत्व को संदर्भित करती है। आप इसकी स्टाइल बदल सकते हैं।
उदाहरण
<!DOCTYPE html> <html> <head> <title>JavaScript Example</title> </head> <body> <p>Demo Text</p> <script> document.body.style.backgroundColor = "blue"; </script> </body> </html>