.xht XHTML page

Other formats

MIME typeapplication/xhtml+xml
DescriptionXHTML page
AcronymXHTML – Extensible HyperText Markup Language
CategoryOther formats
Based onapplication/xml
Other extensions.htm, .html, .xhtml

Frequently asked questions

What is a .xht file?

A .xht file is a “XHTML page” (MIME type application/xhtml+xml). XHTML stands for Extensible HyperText Markup Language.

How do I open a .xht file?

With the program that created the file. On Linux, xdg-mime query default with the MIME type shows the default application, and xdg-open opens the file with it.

How can you tell a genuine .xht file?

No fixed signature at the start of the file is registered for this format; it is recognised mainly by its extension. On Linux and macOS, file --mime-type example.xht shows the guessed type.

Which format is .xht based on?

Technically a .xht file is a subtype of “XML document” (application/xml), so programs for that base format can often read it too.

Which MIME type belongs to .xht?

The MIME type is application/xhtml+xml. In the Apache web server: AddType application/xhtml+xml .xht; in nginx: types { application/xhtml+xml xht; }.

Nearby entries