It can't see my <!doctype> tag


Imagine all tags starts with < . I had to remove them from this post in order to make my code visible to you.

title>new website /title>

It says !DOCTYPE> tag is missing ...

any ideas ?


In html basics, one of the first few exercises you learned to correct doctype declaration is:

<!DOCTYPE html>

it is nice to declare a doctype, but you need to tell what the doctype is, html in this case. Hope this helps

for next time, use one of the two following options to make your code/indent is visible:

select your code and press ctrl + shift + c (or cmd + shift + c if you use a mac)

if this instructions are unclear, you can also insert 3 backticks before and after your code, like so:


the backtick is located above the tab key on your keyboard


I tried type html behind it but yet didn't get passed.


That's odd .... now it worked ....


Check out this post to see how to make code visible (for future reference):


(I know this post is old)

The code is not not


but rather

<!DOCTYPE html>



Like you said, old post, i already pointed out (^) that the incorrect doctype declaration was used, and markiscoding said he resoled the issue: