Skip to Main Content
Adobe® Dreamweaver® CS4 Bible
book

Adobe® Dreamweaver® CS4 Bible

by Joseph Lowery
March 2009
Beginner to intermediate content levelBeginner to intermediate
1321 pages
46h 24m
English
Wiley
Content preview from Adobe® Dreamweaver® CS4 Bible
1032
Part VI
Enhancing Productivity and Web Site Management
Validating and Correcting a Web Page
I
n this Technique, you validate a Web page and then correct the noted errors. Once you pass validation, you
prepare to print out the report.
1. From the Techniques site, expand the 30_Browser_Targeting folder and open the validation_
start file. Note that the page appears normal in Design view.
2. From the Document toolbar, choose Validate Markup: Validate Current Document. The Validation
panel opens and, after the validation is complete, displays the found errors.
3. Double-click the first error. Dreamweaver enters Split view with the offending line of code high-
lighted; you may need to adjust the border to see both Code and Design view equally well.
4. The first error indicates that the alt tag is missing in the highlighted tag; expand the Properties
panel, if necessary, and in the Alt field, enter Frank Gordon; press Tab when you’re done.
5. Double-click the second error in the Validation panel. This error is described as a Nesting error
and the tag following the problematic img tag is highlighted. Because this page is validated under
XHTML rules, all tags must be closed, and this particular img tag is missing a closing slash.
6. Place your cursor before the closing bracket of the img tag and enter a forward slash: /.
7. Double-click the third error in the Validation pa
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Adobe® Dreamweaver® CS5 Bible

Adobe® Dreamweaver® CS5 Bible

Joseph W. Lowery
Dreamweaver® CS3 Bible

Dreamweaver® CS3 Bible

Joseph W. Lowery

Publisher Resources

ISBN: 9780470382523Purchase book