<!DOCTYPE> doesn't work


#1


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


#2

Have you made sure that your is complete? There should be another item inside to tell the browser exactly what to expect.


#3

I get this message:

Oops, try again. Make sure you put in your < !DOCTYPE > tag!

When I enter this code:

<!DOCTYPE>

<html>
    <head>
    <title>Here We Go Again</title>
    </head>
    
    <body>

    </body>
</html>

Am I nuts here?


#4

I even tried

No go.


#5

Here, look at the W3schools.com lesson . There is something missing from yours:
https://www.w3schools.com/tags/tag_doctype.asp


#7

Mine is currently not working either!

and i closed my head...


#8

Mine also doesn't work


#9

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

<!DOCTYPE> should be <!DOCTYPE html>. Also, I don't see the closing <head> tag :slight_smile:


#10

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