question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Generated HTML does not contain <!DOCTYPE html>

See original GitHub issue

Found while checking my site with Chromes Lighthouse feature:

https://web.dev/doctype/?utm_source=lighthouse&utm_medium=devtools

The currently generated HTML lack <!DOCTYPE html>

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
loreanvictorcommented, May 7, 2020

fixed by this commit, deployed via @codedoc/core@0.1.45. @patrickfav thanks for the heads up!

0reactions
loreanvictorcommented, May 7, 2020

Its not just ok, its much appreciated!

Read more comments on GitHub >

github_iconTop Results From Across the Web

What If DOCTYPE Is Not Declared in HTML - Sitechecker
When an HTML page is missing a Document Type Definition (DOCTYPE or DTD) declaration, the browser won't be able to interpret it correctly....
Read more >
What happens if I don't put a <!DOCTYPE html> in my code ...
The <!DOCTYPE> declaration is not an HTML tag; it is an instruction to the web browser about what version of HTML the page...
Read more >
Choosing the right doctype for your HTML documents - W3C
The doctype comes first​​ The very first thing you should make sure to have in any HTML document you create is a DTD...
Read more >
What happens when you remove doctype from the HTML page
The purpose of DOCTYPE is to tell the browser what type of HTML you are writing. It is not valid to omit the...
Read more >
Fix Your Site With the Right DOCTYPE! - A List Apart
Per HTML and XHTML standards, a DOCTYPE (short for “document type declaration”) informs the validator which version of (X)HTML you're using, and must...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found