This is well-formed and valid:
This is well-formed but not valid:
And this is not well-formed, served
as application/xhtml+xml (AKA
"the yellow screen of death" in Firefox)(Opera does something much nicer here.
And here's the same not well-formed document, served
as text/html