| Re: Optional Closing Tags in HTML -
06-07-2008
I can't say I've ever really heard anyone mention "optional" closing tags when it comes to webpages. When pages are authored, I think it's best to err in the direction of "good form." Saving a few bytes here and there doesn't improve your position if a % of browsers can't render the page (such as Opera or Safari).
Typically, the battle to save on page load times is forged by resizing and shrinking images. Reducing the HTML (unless it's by 50-200k or more) would have very minor, if any effects on load times. Most server configurations enable gzip compression of HTML (file is compressed before being sent to browser), so the effect of reducing HTML size is even less important.
I'm not flat out saying it doesn't make a difference, but I am urging you to spend time focusing on growing your marketing knowledge and improving your site conversions in lieu of trimming some characters here and there.
I don't recommend omitting tags closing tags. Proper rendering is far more vital than saving a few bytes. |