The doc-type tag is broken can someone fix it

The doc-type tag is broken can someone fix it

the doctype tags works fine, you just fell for the test this exercise sets, if you don’t recall what the proper doctype tag is, go back to this exercise

In your topic title, you said ‘The doc-type tag is broken can someone fix it’ implying that you used it spelt like so: <!doc-type>. If this is indeed the case, then the problem is the hyphen between doc and type.

The correct tag should look like this, when declaring a HTML document:

<!doctype html>

Hope that helps!

~JibblyJ

1 Like