Won't recognize <!DOCTYPE> input...?


#1


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


I have input all of the tags required but I can't move past it. It doesn't recognize the doctype tag. I even copied and pasted the tag but to no avail (code posted below).

Any ideas? Thanks in advance!!!


<!DOCTYPE>
<html>
<head>
<title>hello</title>
<head>
<body>
</body>
<html>


#2

Try <!DOCTYPE html>

I know the instructions tell you to add a <!DOCTYPE> tag, however this tells the browser the kind of document it's supposed to render "Document Type HTML".


#3

something wrong with your


#4

Yup, that did the trick. Thank you. But I am confused. Do I then start producing webpages with DOCTYPE tags or DOCTYPE html tags from now on?


#5

Pleasure, and always use

<!DOCTYPE html>


#6

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.