Making pages XHTML-compliant

When you create a new page, you can make it XHTML-compliant. You can also make an existing HTML document XHTML-compliant.

To create a new, XHTML-compliant document:

  1. Select File > New.

    The New Document dialog box appears.

  2. Select a document type.
  3. Select the Make Document XHTML Compliant option.

    Note: Not all document types can be made XHTML-compliant.

  4. Click OK.

To create XHTML-compliant documents by default:

  1. Select Edit > Preferences or Dreamweaver > Preferences (Mac OS X) and select the New Document category.
  2. In the New Document category, select a document type and select the Make Document XHTML Compliant option.
  3. Click OK.

To make an existing HTML document XHTML-compliant:

Note: You can't convert an instance of a template, because it must be in the same language as the template on which it's based. For example, a document based on an XHTML template will always be in XHTML, and a document based on a non-XHTML-compliant HTML template will always be HTML and can't be converted to XHTML or any other language.

Related topics


 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/dreamweaver/mx2004/using/23_codi7.htm