I tried to validate my document, in order to be able to tell how bad I am.
I was incredibly happy because I got 0 errors in CSS. I tried to validate index.php file
with HTML5 validator (which I suppose can also check HTML4.01). And I got this error prompt and
I can't solve it.

Error: Unnamespaced element html not allowed in this context. (Suppressing further errors from this subtree.) From line 1, column 1; to line 1, column 6 <html>↩ <hea

I looked for <head> in my document and I looked really precisely at start and ending of <script>, <style> and <head>. And everything's alright, even Notepad++ shows that nothing's wrong with it (if you click on <head>, </head> is lit up etc. )

<head> is on 2nd row.
<link> (CSS file) in on 3rd row.
<title> is on 4rd row.
<script> in on 5th row.
<script> in on 6th row.
</head> in on 7th row.
Any idea what does it want from me?

Edited by RikTelner

3 Years
Discussion Span
Last Post by pritaeas

According to w3schools, trusted site on my list. HTML5's Doctype is <!DOCTYPE html>. But when I define it, everything goes to I-don't-even-know.

Edited by RikTelner

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.