Reply to Re: What's the real content type of XHTML?

Your name:

Reply:


Posted by John Salerno on 09/27/48 11:39

David Dorward wrote:
> 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.
>

That's what I suspected. The other day I set up application/xhtml+xml on
my server, so that would be the HTTP Header when an .xhtml file is sent
back?

[Back to original 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

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