<!DOCTYPE> tag not working


#1



https://www.codecademy.com/courses/web-beginner-en-LceTK/0/2?curriculum_id=50579fb998b470000202dc8b



I don't understand why this isn't working it seems that the tag isn't working or something like that ?


<!DOCTYPE> 
<html>
<head>
<title> Hi there ! </title>
</head>
<body>
</body


#2

use:

<!DOCTYPE html>

Also your <html> tag is not closed


#3

I tried that and it said use open html ?


#4

Yeah I played around with it a ton I didn't take the time to close it


#5

I will try that again though


#6

Now that you closed it, you managed to pass ?

Arrow missing in </body should be </body>


#7

Your forgot to add html to your !DOCTYPE.... and add your closing html tag below your closing body tag


#8

Oops didn't notice that :joy:


#9

It still doesn't work though ?


#10

on line 7 you have a closing html tag (</html>), but there is not corresponding opening tag (<html>), where do you think you need to put it? If you need a syntax refresher, you can always revisit the html basics 1 exercises

And no, </html> doesn't correspond with <!DOCTYPE html>


#11

I got it thank you ! :grin: