html - Firefox 4.0 does not show type to be "application/xhtml+xml" -
i have following code.
<?xml version="1.0" encoding="utf-8" standalone="no"?> <!doctype html public "-//w3c//dtd xhtml 1.0 strict//en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en" > <head> <meta http-equiv="content-type" content="application/xhtml+xml; charset=utf-8" /> <title>title</title> <link rel="stylesheet" href="style.css" /> <script src="script.js" type="javascript"></script> </head> <body> <p>this paragraph</p> </body> </html>
when load page in firefox 4.0, click on tools > page info, shows type="text/html". mean the document being served mime type of text/plain. if so, how serve mime type of application/xhtml+xml?
thanks in advance.
it means document served mime type of text/html
.
to serve mime type of application/xhtml+xml
need configure web server so.
Comments
Post a Comment