Lurker News
Back to discussion

Comment by wild_egg

wild_egg1 reply#
The only elements that are absolutely required are doctype and a non-empty title. Most minimal valid HTML doc:


    Foo
sureIy1 reply#
Correct.

Fun fact: you do not need to close most tags in a valid HTML5 document.
This is valid:


    Foo

paragraph
second

  • item hi!
wild_egg#
Indeed. People writing HTML5 as if it's XHTML is an old pet peeve of mine