I am brand new to web design so please forgive my obvious ignorance.
I am a little confused about serving an XHTML webpage as application/xhtml+xml. When I do so, and I click View Page Info in Mozilla's (3.5.1) context menu it says that the Type is text/html. Below this, in the Meta section it says:
Content-Type: application/xhtml+xml; charset=utf-8
Why does it say the Type is text/html when the Content Type is application/xhtml+xml?
When I serve the page as php and use a bit of code to detect if the browser can accept the application/xhtml+xml MIME type, Mozilla does in fact display the Type as application/xhtml+xml.
How can I serve the file as application/xhtml+xml for Firefox (and other browsers) using html only?
Examples:
HTML: www.hollowpursuits.x10hosting.com/test (View Page Info)
PHP: www.hollowpursuits.x10hosting.com/corporama (View Page Info)
Any help or insight would be greatly appreciated!
Thanks in advance.
I am a little confused about serving an XHTML webpage as application/xhtml+xml. When I do so, and I click View Page Info in Mozilla's (3.5.1) context menu it says that the Type is text/html. Below this, in the Meta section it says:
Content-Type: application/xhtml+xml; charset=utf-8
Why does it say the Type is text/html when the Content Type is application/xhtml+xml?
When I serve the page as php and use a bit of code to detect if the browser can accept the application/xhtml+xml MIME type, Mozilla does in fact display the Type as application/xhtml+xml.
How can I serve the file as application/xhtml+xml for Firefox (and other browsers) using html only?
Examples:
HTML: www.hollowpursuits.x10hosting.com/test (View Page Info)
PHP: www.hollowpursuits.x10hosting.com/corporama (View Page Info)
Any help or insight would be greatly appreciated!
Thanks in advance.
Last edited: