Perfer to use <meta charset="utf8">.
Both are valid in HTML5, and both are valid in major browsers, so we choose shorter version. And move charset before title, because <title> might contain multibyte string. Ref: https://code.google.com/p/doctype-mirror/wiki/MetaCharsetAttribute
This commit is contained in:
parent
e9173d2737
commit
5a95942a8a
@ -6,8 +6,8 @@ snippet html5
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>$2</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
||||
$3
|
||||
</head>
|
||||
<body>
|
||||
|
Loading…
Reference in New Issue
Block a user