View Full Version : Optional Closing Tags in HTML

09-14-2007, 08:45 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?
Reply With Quote

Delphi General Help

Delphi 6 and Crystal Report help !!!
***** Enlargement (http://*****-enhancement-secrets.com) Kamine (http://www.****************/suche/0/kamine/)

09-14-2007, 08:56 AM
Having the closing tags there makes it easier to maintain the site because you can clearly see where everything ends. The speed benefit from removing them will be minimal, the time that you will waste when updating pages because you assumed they were in a different spot to where the browser will add them may be huge.