Mozile

Mozile Example XHTML file

This <div> is not editable.

Return to main index

This is an XHTML file served up as an HTML compatible file. It relies on the server being configured correctly to serve files with the extension ".htm" as text/html. Hence, there is no need to use a server script to set the HTTP headers.

To edit this file in XHTML Mode all that needs to be done is to add a few lines of server side script to the very top of the file.

  1. Set the HTTP mime type to application/xhtml+xml
  2. Set the HTTP character set
  3. Add the XML declaration
  4. Add an XML style sheet to enable editing