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?

Do you have the HTML5 doctype?

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.

Hard to guess without seeing the source.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.