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.

Use lowercase doctype

See original GitHub issue

Currently, the useShortDoctype option rewrites doctypes to uppercase

HTML5 Boilerplate uses lowercase doctype for several years already, there’s not much complaints other than incompatibility with XHTML

https://github.com/h5bp/html5-boilerplate/issues/1522

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:10

github_iconTop GitHub Comments

1reaction
XhmikosRcommented, Jul 8, 2018

Hey, it’s no my word, it’s the community’s word 😉 You can never beat such extended testing.

0reactions
alexlamslcommented, Jul 8, 2018

@XhmikosR they mentioned something along the lines of XHTML5

@DamonHD thanks for the observation and the point about optional tags

I was worried about those enterprisy (read: Java) libraries getting upset about conformance issues, but you guys have successfully convinced me otherwise.

Will put that PR together when I get home.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Uppercase or lowercase doctype? - html - Stack Overflow
Either upper or lower case is "correct". However if you use web fonts and care about IE7, I'd recommend using <!DOCTYPE html> because...
Read more >
Why is "DOCTYPE" uppercase but "html" lower?
So why should the DOCTYPE be in capitals? ... It's my personal preference to use uppercase, but that is maybe more stubbornness or...
Read more >
Print <!doctype html> lowercase rather than uppercase #6502
Generally, case insensitive things are lowercased. The word DOCTYPE seems to be uppercased, which isn't an uncommon style.
Read more >
HTML5: HTML syntax - W3C
A doctype (sometimes capitalized as “DOCTYPE”) is an special instruction which, for legacy reasons that have to do with processing modes in browsers, ......
Read more >
Is it true that using <! Doctype HTML> in lowercase has better ...
It is not compulsary that elements name should be in lowercase. The first letter of an element should be a capital letter. However,...
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