Operation Manual

Table Of Contents
404
Coding
Last updated 11/30/2015
Customize validation settings
1 Select Window > Results > Validation to open the Validation panel.
2 In the W3C Validation panel, click the W3C Validation (Play) icon. Select Settings.
3 Select a DOCTYPE for validation if a DOCTYPE has not been explicitly specified for the document.
4 If you do not want errors and warnings displayed, clear the options.
5 Click Manage if you want to delete any warnings or errors that you have hidden using the W3C Validation panel.
When you remove warnings and errors, they are not displayed when you select Show All in the W3C validation
panel.
6 Select Don't Show W3C Validator Notification Dialog if you do not want the W3C Validator Notification dialog
displayed when you begin validation.
Working with validation reports
After validation is complete, the validation reports are displayed in the W3C Validation panel.
For more information on the error or warning, select the error/warning in the W3C Validation panel. Click More
Info.
To save the report as an XML file, click Save Report.
To view the entire report in HTML, click Browse Report. The HTML report provides the complete list of errors and
warnings along with a summary.
To jump to the location in the code containing the error, select the error in the W3C Validation panel. Click the
Options button, and select Go to Line.
To hide errors/warnings, select the error/warning. Click the Options button, and select Hide Error.
To view all the errors and warnings, including the hidden errors, click the Options button. Select Show All. Any
hidden errors and warnings you deleted in the Preferences dialog are not listed.
To clear all the results in the W3C validation panel, click the Options button. Select Clear Results.
Set Validator preferences
In addition to the standard W3C Validator, Dreamweaver supports external code validators that you install as
extensions. When you install an external validator extension, Dreamweaver lists its preferences in the W3C Validator
category of the Preferences dialog box.
1 Select Edit > Preferences (Windows) or Dreamweaver > Preferences (Macintosh).
2 Select W3C Validator from the Category list on the left.
3 Select tag libraries to validate against.
You can’t select multiple versions of the same tag library or language; for example, if you select HTML 4.01, you can’t
also select HTML 5. Select the earliest version you want to validate against. For example, if a document contains
valid HTML 4.01 code, it will also be valid HTML 5 code.
4 Select Display options for the types of errors and warnings that you want the Validator report to include.
5 Click Apply to apply the changs, and click Close to close the Preferences dialog box.
Make pages XHTML-compliant
When you create a page, you can make it XHTML-compliant. You can also make an existing HTML document
XHTML-compliant.