DONT ADD ANYTHING HERE!

Notes

  1. Validation is OK if no head element
  2. Validation is Ok if no html element, but a warning is issued to add a lang attribute
  3. A title element must be present for successful validation

Example

The following validates but with a warning that there is no language attribute (Bob Tabor, "Understanding the HTML5 You Wrote" video)
<!DOCTYPE html>
<title>mysite</title>
<meta charset="utf-8"> 
Warning: Consider adding a lang attribute to the html start tag to declare the language of this document.

Example

The following validates with no warnings
    <!DOCTYPE html>
    <html lang="en">
    <title>mysite</title>
    <meta charset="utf-8">
    </html> 

Example

If a html page (expt.html) contains only the following line of code
    <p>hello there</p> 
what is seen by the browser (inspect element) is
    <html>
        <head></head>
    <body>
        <p>hello there</p>
    </body>
    </html>

References