Skip to content

Commit

Permalink
Convert the doctype to lowercase
Browse files Browse the repository at this point in the history
HTML5 the doctype declaration is case-insensitive but here's some reason.
Please check this issue  h5bp/html5-boilerplate#1522

And some popular HTML boilerplate also use a lowercase doctype.
- html5-boilerplate: https://github.com/h5bp/html5-boilerplate/blob/master/src/index.html#L1
- Web Starter Kit: https://github.com/google/web-starter-kit/blob/master/app/index.html#L1

and google.com too.
  • Loading branch information
woneob committed Nov 5, 2015
1 parent 4fa7aa2 commit 90bfafc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/_includes/top.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE HTML>
<!doctype html>
<html lang="en-US">
<head>
<meta charset="UTF-8">
Expand Down

0 comments on commit 90bfafc

Please sign in to comment.