You are here: Re: What's the real content type of XHTML? « HTML « IT news, forums, messages
Re: What's the real content type of XHTML?

Posted by Andy Dingley on 11/22/88 11:39

John Salerno wrote:
> Right now the recommendation is to use content-type="text/html" in the
> <head> tag, but is that really correct?

No, it's almost totally bogus. Use the HTTP headers, not the
http-equiv <meta> in the <head>.

The only good thing to do with putting them in the head instead of the
headers is if you're working with web documents as files a lot and you
have funny character encodings that need a non-default encoding. This
is obscure as both something to want to do, and also as a combination
of characters and encodings.

As to text/html vs. application/xml-stuff, then that's our regularly
scheduled programming. Every night at 6:30, just between the Simpsons
and Trek re-runs.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация