Implied elements test

This page has no html or body tags explicitly. However, since the HTML spec says that every HTML document has html and body elements, but the tags are optional, CSS that is applied to these elements should work even when the tags are omitted, since the elements are still there. Thus this document should have a light green background on body, with a darker green (html's background) in body's margin (and, if body is smaller than the viewport, in the space below body).


Valid HTML 4.0!

(Back to CSS Testing Information, David Baron)

LDB, dbaron@dbaron.org