+ 2

Why the error "unexpected header" in html , i am just a beginner so plz take in that way

28th Feb 2018, 3:32 AM
shabeeb
shabeeb - avatar
6 odpowiedzi
+ 4
What you posted runs fine. Link your code by using the + Insert... button on the post popup or share and copy your code's link to the clipboard and paste it to the post.
28th Feb 2018, 4:01 AM
John Wells
John Wells - avatar
+ 2
post your code . Then we can help you.
28th Feb 2018, 3:39 AM
cHiRaG GhOsH
cHiRaG GhOsH - avatar
+ 2
<html> <head> <title> my web </title> </head> <body align="center"> <p> This is a line of text </p> </body> </html>
28th Feb 2018, 3:43 AM
shabeeb
shabeeb - avatar
+ 2
srry i forgot to mention here
28th Feb 2018, 5:39 AM
shabeeb
shabeeb - avatar
+ 1
You just need to add: <!DOCTYPE html> as your first line and the error should resolve in the playground using the code you have posted.
28th Feb 2018, 5:38 AM
ChaoticDawg
ChaoticDawg - avatar