DOCTYPE Isn't accepted?


#1


I am stuck in Exercise 2 of Html 1: Build your own website


I keep getting this error message: "Make sure you put in your <!DOCTYPE> tag!" It's clearly there, so what now?


<!DOCTYPE HTML>
<html>
<head>
<title>Welcome</title>
</head>
<body>
Welcome!
</body>
</html>


#2

The correct way to use the HTML5 standard with <!DOCTYPE> is using lowercase "html":

<!DOCTYPE html>


#3

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