Karsten Bräckelmann wrote: > According to the W3C validator [1], the <head/> in itself is invalid, > and not finished. And the root element is missing a mandatory xmlns > attribute. Also, according to the compatibility guidelines [2], empty > elements should have a space before the closing slash. To name but a few > I found by some brief digging.
More specifically, <head/> is disallowed because the [X]HTML spec requires <head> sections to include <title>, so the briefest you can get is <head><title/></head> The space is optional but recommended as a best-practice, especially for non-XML HTML4 compatibility (the top of Guenther's link #2 reads: "This appendix summarizes design guidelines for authors who wish their XHTML documents to render on existing HTML user agents"). -khopesh -- Adam Katz http://khopesh.com/Anti-spam
