This browser does not support basic Web standards, preventing the display of our site's intended design. May we suggest that you upgrade your browser?

Adobe Dreamweaver CS3

Making Pages XHTML Compliant

XHTML stands for Extensible Hypertext Markup Language, and is very similar to HTML. Both are designed to allow you to create electronic documents that are commonly formatted for web browsers such as Internet Explorer and Firefox. The most important difference is that XHTML requires consistency and structure in the code.

return to topCreating a New XHTML-Compliant Document

When starting a new document, you may decide to make it XHTML compliant.

  1. From the File menu, select New...
    The New Document dialog box appears.

  2. Select the desired Page Type and Layout

  3. From the DocType pull-down list, select an appropriate XHTML option
    NOTE: The DocType pull-down list is not available for Other and CSS Style Sheets pages.
    DocType: XHTML option

  4. Click CREATE
    The new document is now XHTML compliant.

return to topCreating XHTML-Compliant Documents by Default

You may want every new document you create to be XHTML compliant. To do this, you can create XHTML compliant documents by default.

  1. From the Edit menu, select Preferences...
    The Preferences dialog box appears.
    Preferences dialog box

  2. From the Category menu, select New Document

  3. From the Default Document Type (DTD) pull-down list, select the appropriate XHTML document type definition

  4. Click OK
    Any new documents will be XHTML compliant.

return to topMaking an Existing Document XHTML Compliant

After creating a document, you may choose to make the document XHTML compliant.
NOTES:
When working with frame pages, you must convert each frame and the frame set document.
If a template-based web page is based from a non-XHTML template, than it cannot be converted to a XHTML web page. Template-based web pages always need to remain in the same language as the original template.

  1. Open the document you wish to make XHTML compliant

  2. From the File menu, select Convert » appropriate XHTML selection
    The document is now XHTML compliant.

Excellence. Our Measure. Our Motto. Our Goal.