Quantcast
Channel: Validating HTML5 Page - Stack Overflow
Viewing all articles
Browse latest Browse all 4

Validating HTML5 Page

$
0
0

I validated my website using: https://validator.w3.org/#validate_by_uploadand I got no errors. However, the website recently changed and now I get these 2 messages:

Info: The Content-Type was application/octet-stream. Using the XML parser (not resolving external entities).Fatal Error: Empty document, with no root element.

What do these messages mean? How do I correct the error?

The settings I used were: Encoding: utf-8 document type: HTML5

SIMPLE HTML:

<!DOCTYPE html><html><head><meta charset="UTF-8"><title>Title</title><link href="css/omnicode.css" rel="stylesheet" type="text/css"><!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]--></head><body><div class="container"><header><h1>Header</h1></header><hr><p> TEXT </p><hr><footer>Footer</footer></div> </body></html>

Viewing all articles
Browse latest Browse all 4

Latest Images

Trending Articles





Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>