Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Title of the Document</title> <style> body { color: red; margin: 20px } </style> </head> <body> The red text <script> alert(document.body.style.color); // empty alert(document.body.style.marginTop); // empty </script> </body> </html>