+ 3
How do you indicate the character set being used by an HTML5 document? How does this differ from older HTML standards?
4 Answers
+ 3
For html4 use:
<meta http-equiv="Content-Type"content="text/html;charset=ISO-8859-1">
+ 2
You can use a <meta> tag like this:
<meta charset='utf-8'>
+ 1
Html 5 uses utf-8 as default charset
even if not defined...
However, to define explicitly use meta tag with charset attribute