html5 - Should HTML meta charset be lowercase or uppercase? -
normally utf should uppercased it's abbreviation. however, attributes in html lowercased.
so, should be: <meta charset="utf-8"/> or <meta charset="utf-8"/>?
i know both work.
thank you.
the value charset case-insensitive.
from w3.org
a case-insensitive match character set name iana [character sets] registry has name or alias field labeled “preferred mime name”; or, if none of alias fields labeled, case-insensitive match name field in registry.
link full document: http://www.w3.org/tr/html-markup/meta.charset.html
Comments
Post a Comment