Reputation: 1161
I have a simple html code as follows HTML CODE
The problem is that if the code is printed to browser the contents inside the <head>
tags are printed inside the <body>
tag at the beginning of them i know surely it is a tag somewhere not closed correctly but i see no errors. I think someone will see the coding error in my code! Thank's in advance for the help i get!
Upvotes: 1
Views: 279
Reputation: 227200
The <!DOCTYPE
needs to be the 1st thing on the page. Lose all the white space before it.
The file in your pastebin starts with: 0D 0A EF BB BF
. If you can't read hex, that's \r\n
(a new line) followed by a UTF-8 byte order mark.
Upvotes: 3