Use lowercase doctype
See original GitHub issueCurrently, 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
Issue Analytics
- State:
- Created 6 years ago
- Comments:10
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hey, it’s no my word, it’s the community’s word 😉 You can never beat such extended testing.
@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.