No HTML Doctype on the Page

Google Lighthouse Detect The Pages Lack of HTML Doctype

Using Google’s Lighthouse tool with Screpy, you can detect pages without Doctype quite easily. Pages without <! DOCTYPE html> code are flagged by the system. Check out the example below:

No HTML Doctype on the Page

After receiving a warning like an example above, all you need to do is to provide the declaration of this code snippet and pass the audit.

How To Pass HTML Doctype Audit: Declaration of Doctype

In order to make a Declaration of Doctype, you need to add the relevant code to your HTML document. Don’t forget to add the code at the top of the page. You know what the code is: <! DOCTYPE html>

You will get an image like the example below:

<!DOCTYPE html>
<html lang="en">

Now, the problem should be solved. 

Test Your Website Issues

You can quickly analyze your site