Re: What's the real content type of XHTML?
- From: John Salerno <johnjsal@xxxxxxxxxxxxxxx>
- Date: Wed, 08 Feb 2006 19:42:28 GMT
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?
.
- References:
- What's the real content type of XHTML?
- From: John Salerno
- Re: What's the real content type of XHTML?
- From: Andy Dingley
- Re: What's the real content type of XHTML?
- From: John Salerno
- Re: What's the real content type of XHTML?
- From: David Dorward
- What's the real content type of XHTML?
- Prev by Date: tedious refresh effect
- Next by Date: Re: tedious refresh effect
- Previous by thread: Re: What's the real content type of XHTML?
- Next by thread: Why is my table column with hidden content still 50px wide?
- Index(es):
Relevant Pages
|