Making Pages Xhtml-Compliant - MACROMEDIA DREAMWEAVER MX 2004-USING DREAMWEAVER Use Manual

Hide thumbs Also See for DREAMWEAVER MX 2004-USING DREAMWEAVER:
Table of Contents

Advertisement

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:
Select File > New.
1
The New Document dialog box appears.
Select a document type.
2
Select the Make Document XHTML Compliant option.
3
Note: Not all document types can be made XHTML-compliant.
Click OK.
4
To create XHTML-compliant documents by default:
Select Edit > Preferences or Dreamweaver > Preferences (Mac OS X) and select the New
1
Document category.
In the New Document category, select a document type and select the Make Document
2
XHTML Compliant option.
Click OK.
3
To make an existing HTML document XHTML-compliant:
Open a document, then do one of the following:
For a document without frames, select File > Convert > XHTML.
For a document with frames, select a frame and select File > Convert > XHTML. To
convert the whole document, repeat this step for every frame and the frameset document.
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
"About the XHTML code generated by Dreamweaver" on page 417
438
Chapter 21: Optimizing and Debugging Your Code

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DREAMWEAVER MX 2004-USING DREAMWEAVER and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Dreamweaver mx 2004

Table of Contents