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 David Dorward on 01/09/64 11:39

John Salerno wrote:

> I probably should have picked up on this by now, but what are "HTTP
> headers"? Is that something in the HTML file itself, or is it how the
> page is being served (i.e. not easily editable)?

The browser makes an HTTP Request to an HTTP server which sends an HTTP
Response. This response consists of a number of headers followed by the
message body. When requesting HTML documents, the message body consists of
the (entire) HTML document.

It is generally pretty easy to adjust the headers sent providing you have a
reasonable hosting package.

That said, XHTML as text/html is silly and XHTML as application/xhtml+xml is
badly supported (e.g. IE doesn't try to render it at all. Firefox can't
deal with it as well as text/html.)

Sticking with HTML 4.01 Strict on the client side is still the best choice
in almost every case.

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is

 

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

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