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

<PLEASE USE THIS TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are stuck at.>
https://www.codecademy.com/courses/web-beginner-en-LceTK/0/2?curriculum_id=50579fb998b470000202dc8b#

<Below this line, in what way does your code behave incorrectly? Include ALL error messages.>
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!!!

``` hello
<do not remove the three backticks above>

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”.

4 Likes

something wrong with your [quote=“magiccity, post:1, topic:143201”]
<!DOCTYPE>
[/quote]

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?

Pleasure, and always use

<!DOCTYPE html>

2 Likes

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