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

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -