How can I resolve this error with DOCTYPE? RESOLVED

191 Views Asked by At

Visual studio working incorrectly.

The only thing I did was use the "!" to already have the base code and I put hiiiiiii in the body and it gave an error with the DOCTYPE, everything is fine but Google says "One or more documents in this page is in Quirks Mode, which will render the affected document(s) with quirks incompatible with the current HTML and CSS specifications.

Quirks Mode exists mostly due to historical reasons. If this is not intentional, you can add or modify the DOCTYPE to be <!DOCTYPE html> to render the page in No Quirks Mode."

I tried uninstalling the application, downloading it from the Microsoft Store, opening the code through Microsoft Edge instead of Google, but I still get a white screen, nothing I put in appears, not even a simple

And I opened the correct index.html too, if anyone can help me I would be very grateful.

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <p>hiiiii</p>
</body>
</html>

code google

0

There are 0 best solutions below