News for hackers. Stuff that matters.
Re:Google's 404 Page by gghootch on Sunday November 27, 2011 @11:42AM (#3282711)
Google uses some clever trick to hide the closing tags in your browser. Download the file and open it in your editor of choice, the closing tags are there.

http://i.imgur.com/vCyrY.png

EDIT: Or chrome is auto-adding the tags? As mentioned below curl doesn't replicate the same results, nor does Firefox.

Re:Google's 404 Page by exupero on Sunday November 27, 2011 @11:59AM (#3282747)
The WebKit inspector adds closing tags. You have to view source or use curl.
Re:Google's 404 Page by csulok on Sunday November 27, 2011 @12:12PM (#3282782)
well no, the browser adds them when it loads and parses it for rendering. the inspector just shows you what the browser created. the same is true for all browsers, their inspectors will reveal how the DOM looks like for the browser.
Re:Google's 404 Page by joshma on Sunday November 27, 2011 @05:33PM (#3283610)
If we're discussing semantics here, when a browser parses it for rendering what would it mean to "add them?" After all, the HTML is only a textual representation of the rendered DOM tree. I think it's perfectly valid to say the inspector is adding them in, since the browser doesn't really bother to adjust the HTML if it can already parse it.
Re:Google's 404 Page by sramov on Sunday November 27, 2011 @11:51AM (#3282732)

    curl www.google.com/lalalala