DEV Community

Discussion on: What is the color of a blank page?

Collapse
 
bcalou profile image
Bastien Calou • Edited

Small shortcut, I agree. The <html> is of course the root, but the browser uses the <body> rules as if they were set on the <html>.

"The used values of that BODY element’s background properties are their initial values, and the propagated values are treated as if they were specified on the root element."