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

Joseph W. Lowery

"Dreamweaver CS3 Bible"

In all, you have seven different
cleaning operations from which to choose. Note that the Clean Up HTML and Clean Up XHTML commands
are applicable only to the current page and cannot be applied sitewide.
XHTML syntax is much less forgiving than HTML; your XHTML code must be nearly perfect to work correctly.
The Clean Up XHTML command fixes XHTML code syntax errors, lowercases all tag attributes, and
adds (or reports) missing required tag attributes.
To use the Clean Up HTML or Clean Up XHTML commands, follow these steps:
1. Load the desired HTML or XHTML document into your Dreamweaver workspace.
2. Choose Commands ??? Clean Up HTML (for an HTML document) or Commands ??? Clean Up
XHTML (for an XHTML document). The Clean Up HTML/XHTML dialog box appears, as shown
in Figure 33-1.
FIGURE 33-1
Reduce your page??™s file size and make your HTML more readable with the Clean Up
HTML/XHTML command.
3. Choose from these options in the dialog box:
n Remove: Empty Container Tags??”Deletes empty tag pairs with no code between them (such
as ).
n Remove: Redundant Nested Tags??”Eliminates superfluous tags that repeat the same code as
the tags surrounding them, as shown in the following example:
1014
Extending Dreamweaver Part VII
And the ???white???>truth
is plain to see.


Pages:
1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716