SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 440 | Next

Joseph W. Lowery

"Dreamweaver CS3 Bible"

Certain languages, such as XML, require the code to be proper or it just
won??™t work. To ensure that a page is correctly written, the page should be validated. The Web offers numerous
validation services??”most notably the one run by the W3C at http://validator.w3.org/??”but
you don??™t need to leave Dreamweaver to validate your pages ever again.
With Dreamweaver??™s Validation feature you can check a single page or an entire site. After it is checked, the
resulting errors and warnings, if any, can be stored in an XML file for future output. Any error can be
double-clicked to go right to the offending element for immediate correction.
As with other Dreamweaver-style reports, the Validation feature resides in the Results panel, as shown in
Figure 6-30. To display the Validation panel, choose Window ??? Results and click the Validation tab.
Controls for the Validation panel are found along the left, and the panel is divided into three sections: File,
which lists the file being referenced; Line, which lists the line number on which the error can be found; and
Description, which contains a brief overview of the problem.
FIGURE 6-30
You can easily validate your pages from within Dreamweaver using the Validation feature.
Clicking the Validate button??”the green triangle in the left margin of the Validation tab shown in
Figure 6-30??”unveils a menu of options:
n Validate Current Document: Checks the onscreen document against the validation preferences
n Validate Entire Site: Runs through the entire current site, checking for validation errors
n Validate Selected Files In Site: Checks files selected in the Site panel
203
Accessing the Code Directly 6
If no files are selected in the Files panel and Validate Selected Files In Site is chosen, the entire
site is validated.


Pages:
428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452