Topic: Optional Closing Tags in HTML (Read 329 times)
I crack Photoshop!
Posts: 3
30 credits Members referred : 0
« on: Feb 27, 2008, 11:11:47 AM »
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 am a metal monkey!
Administrator Community Supporter?
Jedai Sword Master
Gender:
Posts: 7943
40607 credits Members referred : 3
« Reply #1 on: Feb 27, 2008, 11:32:47 AM »
I've just validated an XHTML document without </head> and it is not passing validation. So I guess you are wrong about that. Closing the <head> tag is not optional