Which is the appropriate content-type meta tag value ?

Posted by Argoron on Pro Webmasters See other posts from Pro Webmasters or by Argoron
Published on 2011-06-29T09:23:08Z Indexed on 2011/06/29 16:31 UTC
Read the original article Hit count: 197

Filed under:
|

I have a question about the meta tag content-type. When starting to build my site (HTML+PHP+JS), I copied a lot of the meta tags over from elsewhere, and I have, amongst others, the following:

<meta http-equiv="content-type" content="application/xhtml+xml; charset=iso-8859-1" />

Now, I've seen that tag is being used a lot with the value "text/html". I've been searching the web but could not find a comprehensive explanation regarding what the difference between both is. The "text/html" intuitively sounds more straightforward to me.

Should I change my tag to that, or might the "application/xhtml+xml" be an equivalent solution ?

Alternatively, can anyone point me to a resource where the different values for these tags are listed and explained in a clear manner?

Thanks in advance

© Pro Webmasters or respective owner

Related posts about tags

Related posts about meta-description