View Single Post
Old Oct 18th, 2007, 4:22 AM   #7
WaltP
Programmer
 
Join Date: Oct 2007
Posts: 39
Rep Power: 0 WaltP is on a distinguished road
Re: Optional Closing Tags in HTML

Quote:
Originally Posted by WIND View Post
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?
Technically, they are not really optional. It's just that most browsers are badly written and don't really care. I for one consider this a problem -- but it's SOP for M$. They write crap, and let those that purchase the software beta-test it. Then charge the beta-testers when they need help getting around the bugs.

Quote:
Originally Posted by DaWei View Post
The problem with XHTML is IE (non)support. That's a lot of clients. Personally, I've almost completely reverted to HTML 4.01 strict.
This is not a problem with XHTML. It's a problem with IE.


Quote:
Originally Posted by Grich View Post
Yeah, wow, I am astonished at that. XHTML is a bit more stricked though.
stricked? Do you maybe mean strict?
WaltP is offline   Reply With Quote