3 ms·
Go read the HTML specs. Very, very carefully, and without preconceived notions. This is not "monstrously invalid" for HTML. Many, many end tags are, in fact, en
by jerf 17y ago
Go read the HTML specs. Very, very carefully, and without preconceived notions. This is not "monstrously invalid" for HTML. Many, many end tags are, in fact, entirely optional, as defined in the specifications, and many tags such as "body" are also surprisingly optional.
HTML is not XML.
It might be invalid, it is "monstrously invalid XHTML", but it is not "monstrously" invalid HTML.
- tdavis 17y agoI have been appropriately corrected (by you and others), thank you. I think I've spent so many years battling with anti-standards folks that I now take it personally when people advocate leaving out tags and not using a proper Doctypes and the countless other things Google does. In this case, I failed to do any research before making my argument, and have been deftly slain for it ;)
- sh1mmer 17y agoThe question is not if it's valid or invalid (which is another debate) but rather is it faster or slower. I'd like to see Google provide facts and figures. When Steve Souders worked at Yahoo! a large part of recommendations were backed up by experimental data collected by Tenni Theurer (my manager's wife, coincidentally). I'd like to see Google provide the same kind of experimental data for their guidelines. If saving 14 bytes is a network saving, where are the page render tests in browsers, particularly "A-grade" browsers?
- CalmQuiet 17y agoSee facts and figures? Absolutely. In light of the whipping their "facts" on PHP optimization recommendations have received here ( http://news.ycombinator.com/item?id=676856 http://news.ycombinator.com/item?id=676856 ), it's best not to take pronouncements from a google post as coming from on high.
- jerf 17y ago"The question is not if it's valid or invalid (which is another debate) but rather is it faster or slower." Well, the question I answered was whether it was valid. I'm not knowledgeable enough to answer the speed question.