application/xhtml+xml with xml-stylesheet PIThis text will be green if the rule has been applied.
<?xml-stylesheet href="styles.css" type="text/css" ?>
A dialog asking what to do with application/xhtml+xml files appears.
A dialog asking what to do with application/xhtml+xml files appears.
A dialog asking what to do with application/xhtml+xml files appears.
A dialog asking what to do with application/xhtml+xml files appears.
A dialog asking what to do with application/xhtml+xml files appears.
The document is rendered as HTML but none of the external CSS is applied regardless of the mechanism used to point to the .css files.
The document source code is shown.
Nothing is rendered on the screen.
A dialog asking what to do with application/xml files appears.
Browsers that don't understand the application/xhtml+xml mimetype can be sent the document as text/html instead. This avoids the problems encountered when those browsers try to deal with a mimetype they don't recognize. All browsers tested ignored any xml-stylesheet PIs when the document is sent with a non-xml mimetype. However, it is best not to include XML PIs if the document is not sent as an xml application because any code encountered before the <!DOCTYPE> will cause IE6 to use quirks mode to render the document. Also, including a XML PI in an HTML document isn't valid.