troubleshooting Question

Meta Charsets in HTML5

Avatar of DanishCoder
DanishCoderFlag for Denmark asked on
9 Comments1 Solution774 ViewsLast Modified:
Dear experts,

In HTML5, normally I translate my existing code to this:

<meta charset="iso-8859-1"/>

In xhtml strict, previously I would use:

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>

Because I am not writing this in English, but Danish.
When validating my code, the Validator will render my code like this:

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<!-- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/> -->

Does that means that I'm not supposed to use other values than utf-8?

Thanks for your help!
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 9 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 9 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros