News for hackers. Stuff that matters.
Re:Should I Change My Password? by sbierwagen on Thursday June 23, 2011 @03:17PM (#2689394)
In HTML5, both the <html> and <body> tags are completely optional, as are their closing tags. Since there's no other content on this "page", you don't need to close the header either, so you could replace everything with:

  <h1>YES
Re:Should I Change My Password? by jacobolus on Thursday June 23, 2011 @04:25PM (#2689714)
The title tag is required, though (unless you’re in an iframe), and an h1 tag must be closed (unlike, e.g., paragraph and list item tags). So your minimal page looks like:

  <!DOCTYPE html>
  <title>YES</title>
  <h1>YES</h1>
Re:Should I Change My Password? by sbierwagen on Thursday June 23, 2011 @06:26PM (#2690188)
Really?

http://validator.w3.org/check?uri=http%3A%2F%2Funitinu.net%2...

http://validator.w3.org/check?uri=http%3A%2F%2Funitinu.net%2...

http://validator.w3.org/check?uri=http%3A%2F%2Funitinu.net%2...

Dang, apparently so. Guess I was wrong.

The world's most inane objection: If you force the validator to HTML5 mode, (as in the first and second links) then you don't need to declare a DOCTYPE, a savings of 16 bytes. Not that you would ever do that for a real document, since it's a dumb idea.

Re:Should I Change My Password? by notatoad on Thursday June 23, 2011 @10:32PM (#2690725)
forcing the validator to HTML5 mode would imply the doctype, wouldn't it, as the only way to force a browser to HTML5 mode is to include a doctype.