Open XHTML files

  • Full name
    Extensible HTML Format
  • Developer
  • Popularity
Have you encountered a problem with a XHTML file? Don’t you know which program opens a file with this extension? You will find all the information you need about working with a XHTML file here. In the further part of this page we have added a list of programs that should open your XHTML file. It is enough you choose a proper application for your operating system, download and install it.

What is XHTML file?

XHTML stands for extensible HyperText Markup Language (extensible HTML) and, like HTML, is a text-based markup language (markup: award) that is used primarily for websites. XHTML is a reformulation of HTML 4.01 in XML and complies with the stricter XML rules.

More info

In addition to the actual content that should be displayed on a web page, an XHTML file also includes awards for how something is displayed and structured. For example, XHTML also integrates images on the website and determines which text is a link and where it should lead.

Generally, you can open XHTML files with any text editor. For better readability you should use a text editor with programming language recognition (eg Notepad ++) or use a real website editor. Xhtml files can also be opened and edited with Microsoft Word or OpenOffice.Org Write, but this is not recommended.

To have an XHTML file displayed as a web page, a modern web browser is sufficient. Embedded files, such as images, must be in the correct location at the location referenced in the XHTML file.

Sometimes the extension xhtm is used, but it identifies the same file type. The file extension XHTML itself is not a necessary marking, browsers are not dependent on it and recognize XHTML files at the header. Many web editors also use the extension html for XHTML files.

Programs which can open a XHTML file

How to open file with XHTML extension?

In order to open a file with XHTML extension one of the following programs must be installed on user’s system. If a problem with opening XHTML file occurred, it is highly possible that none of the listed programs is present on user’s system. Even if one or more said programs are installed, there may be issues related with given programs. In order to solve a problem with XHTML files, follow the instructions below.
Install Safari or other program from the list

Most often resolving problems with opening XHTML files is very simple. Just install an appropriate program that supports such files. All of the listed programs support XHTML files, but may vary in offered function and purpose. Some programs may be capable only of viewing contents of XHTML files or offer file conversion options, but may not be capable of editing such files.

Set Safari as the default program for opening XHTML files

It is possible that although a compatible program has been installed on user’s system, it is not used by the system to open it. This may happen because no default application was associated with this type of files. To associate XHTML files with given application, select "Open with" from drop-down menu (accessed by right-clicking on the file). Then select from the list the program or application you want to be used to open this type of file. If the Safari applications is not on the list, select "Browse" option in order to manually locate the directory where Safari has been installed.


Check the section that lists most common problems with XHTML files

Sometimes problems with opening XHTML files may not lie with the application itself, but can arise due to other causes, such as:

  • File data is corrupted
  • XHTML files has been not been completely download from the internet (only a part of the data has been downloaded)
  • Currently used user account hasn’t been granted necessary privileges to open XHTML files (should that be the case, please contact your system administrator or IT specialist)
  • XHTML file was being copied from a corrupted storage device and is incomplete or data is corrupted. (Copying files from unknown or untrusted sources should be conducted with great care as such files may contain malicious software, which can damage your system)

Similar extensions