Require a doctype for the document (missing-doctype)

Requires that the document contains a doctype.

Rule details

Examples of incorrect code for this rule:

<html>
    <body>...</body>
</html>
1:1 - Document is missing doctype

Examples of correct code for this rule:

<!doctype html>
<html>
    <body>...</body>
</html>