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 1581 | Next

Joseph W. Lowery

"Dreamweaver CS3 Bible"


932
Enhancing Productivity and Web Site Management Part VI
In 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 highlighted;
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 Property
inspector, 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: /.


Pages:
1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593