-
Notifications
You must be signed in to change notification settings - Fork 12.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Case of <!DOCTYPE html> #335
Comments
I think a nice side effect of lowercase is to make developers curious. And then they dive in, realize it's totally peachy.. and learn a bit more about how browsers work. It's a feature! |
Works for me, as long as there’s an intention behind it :) |
On the web, all the other elements get to be written in lowercase. !doctype gets to play too now! :) |
@jonathan Your link appears to be link to a google SERP for “All of the other reindeer” but clicking it merely refreshes this page… most bizarre |
The only real argument here is #2. Even TextMate.app highlights P.S. @jonathantneal Don’t wrap URLs in quotes when linking in Markdown, it will create a |
Ah, that explains the mystery hyperlink. Oddly enough, the link worked fine in the email notification I received for that comment. |
@mathiasbynens: agreed, it's text editor's responsibility. |
This issue looks less theoretic to me since I just had to realize that my newly installed Firefox 5.0.1 throws a nasty XML Parsing Error: syntax error when you feed him a file with doctype keyword in lowercase. |
@christianlerch: The DOCTYPE (if used at all) is only required to be uppercase in XHTML. Don’t use XHTML. See http://mathiasbynens.be/notes/xhtml5 |
Wouldn't it be wise to observe polyglot markup constraints with html5boilerplate? |
Hard to disagree here, christianlerch. |
Sure, but does this mean that there could be a polyglot edition of Am 03.08.2011 07:32, schrieb alanhogan:
|
This is such a tiny nitpick of a comment to make, so I’m sorry.
But the boilerplate starts with
<!doctype html>
. I understand<!DOCTYPE html>
is much more common, for example, on this MSDN page (I know, I know) and on sites like diveintohtml5.com.I’m sure all browsers anyone uses checks the doctype in a case-insensitive manner, and yet, I wonder what reason there could be to buck the trend?
I wouldn’t even mention it, but for
doctype
in red, the color reserved for syntax errors. Feels bad, man.Thoughts?
The text was updated successfully, but these errors were encountered: