And you can customize how the Validator works, as discussed in the next section,
???Setting Validator preferences.???
To validate your code, follow these steps:
1. Open the document you want to validate.
2. If it is an XML or XHTML file, choose File ??? Check Page ??? Validate as XML. For all other files,
choose File ??? Check Page ??? Validate Markup or press Shift+F6. After the Validator runs, the
results are listed in the Validation panel: filenames, line numbers, and error descriptions, as
shown in Figure 30-2.
CROSS-REF CROSS-REF
929
Maximizing Browser Targeting 30
FIGURE 30-2
It??™s up to you to decide how to handle errors flagged by Dreamweaver??™s Validator.
3. Double-click an error in the list to display the offending code in the document.
4. To display the error report in your primary browser, click the Browse Report button. To keep a
record of the report, print the browser page or click the Save Report button to generate an XML
report file.
Right-click (Control+click) in the Validation panel to bring up a context menu that lets you
browse the error report, save the report, and more.
Setting Validator preferences
You can customize how the Validator works by changing its preferences. For example, you can specify
which languages the Validator should check against and which types of errors the Validator should hunt
down.
Pages:
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591