HTML |
---|
Comparisons |
The following tables compare XHTML compatibility and support for a number of browser engines.
Only XHTML 1.1 is considered. XHTML 1.1 is necessarily XHTML 1.0 Strict with more elements and attributes deprecated. XHTML 2.0 was a working draft with no browser engine support, but work on it was abandoned[1] in 2009 in favor of work on HTML5 and XHTML5. XHTML 1.0 and HTML 4 (both served with text/html
) are covered in comparison of browser engines (HTML support). The comparison of XML capabilities are covered in comparison of layout engines (XML).
See comparison of browser engines for the full list.
These indicate the level of support for the given item in each engine. By default, the most recent version of the engine is implied. However, a specific version number can be listed; when this indicates full support, it's the initial version of the engine fully supporting the item.
Value | Meaning |
---|---|
Yes | Fully supported |
No | Has never been supported |
Partial | Only some values are supported |
Incorrect | Not implemented correctly in all cases |
Experimental | May be incomplete or buggy |
Nightly build | Currently in development; full support is expected |
Depends | Only supported for the specified conditions |
Dropped | No longer supported |
The responses when a well-formatted XHTML document is served with different media types. Note that only application/xhtml+xml
is the recommended media type.
Internet media type | MSHTML | Tasman | Gecko | WebKit | KHTML | Presto | Prince |
---|---|---|---|---|---|---|---|
application/atom+xml
|
? | ? | ? | ? | ? | 8.00 beta 2[o 1][o 2] | ? |
application/mathml+xml
|
No | No | 2.0[g 1] | No | No | 9.50 beta 2[o 3] | ? |
application/rss+xml
|
? | ? | ? | ? | ? | 7.50 beta 1[o 4][o 5] | ? |
application/xhtml+xml
|
XHTML 5.0 | Prompt for download | XHTML | XHTML 125 |
HTML | XHTML 1.0 |
? |
application/xml
|
XHTML 5.0 | Crash | XHTML | XHTML 125 |
XML | XHTML 1.0 |
? |
application/xslt+xml
|
? | ? | ? | ? | ? | 9.00 beta 1[o 6] | ? |
image/svg+xml
|
? | ? | 1.0[g 2] | ? | ? | 9.50[o 7][o 8] | ? |
text/xml
|
XHTML 5.0 | Crash | XHTML | XHTML 125 |
XML | XHTML 1.0 |
? |
text/html
|
HTML | HTML | HTML | HTML | HTML | HTML | ? |
application/xhtml+xml
— KHTML supports this media type, but processes the document as HTML.application/xml, text/xml
— HTML entities and custom entities defined by custom DTD are not recognized.Extending XHTML by combining with other applications of XML (not referring using img/object element).
MSHTML | Tasman | Gecko | WebKit | KHTML | Presto | Prince | |
---|---|---|---|---|---|---|---|
MathML | No | No | 1.0 | No[w 1] | No | 2.1 | 6.0 |
SVG | 5.0 | 1.8 | 522 | 3.2 | 1.0 | 5.1 | |
XForms | No | No[g 3] | No[w 2] | No | No | ? | |
VoiceXML | No | No | 1.0 | No |