For as long as I’ve been validating web pages, I never realized that the closing </head> tag was optional in HTML. I feel as if I’ve missed the boat at times.
While I’m all for trimming excess code, I just cannot for the life of me strip out closing tags because they are optional in HTML. I’d be concerned that something, somewhere would not parse the document correctly if I removed the closing </head> element.
Are my concerns unfounded?
I think that all tags must be closed. Even “self closing” tags must close, i.e. <br />
Who told you that the closing head tag was optional?
edit: I see you are talking about HTML 4, not XHTML
meh… whats the point, XHTML doesn’t like it, and it only really saves you one word
:lol:… I would close everything just for consistency, including self-closing tags <input /> (plus it looks prettier when its tabbed out correctly :P).
And you’re guaranteed that a closing tag isn’t an issue if you have a browser render problem. :thumb2: