The more accustomed your eye is to following Dreamweaver-style HTML, the more you value this command.
You learn more about the Tag Library feature later in this chapter.
The Apply Source Formatting and Apply Source Formatting to Selection commands are examples of
Dreamweaver commands that don??™t display dialog boxes to gather the user??™s selected parameters??”because
there are no parameters to set. To invoke the commands, choose Commands ??? Apply Source Formatting or
Commands ??? Apply Source Formatting to Selection. The commands are applied immediately, with no confirmation
or feedback indicating that they are complete. To verify their execution, you have to sneak a peek
at your source code.
NOTE NOTE
CROSS-REF CROSS-REF
1013
Customizing Dreamweaver 33
The Clean Up HTML and Clean Up XHTML commands
Dreamweaver tends to produce compact, uncluttered HTML/XHTML code, which is not always the case
with other HTML/XHTML editors and hand-coded efforts. One of the most common problems is redundant
tags, which can result when you select some text, change the font, change the font size, and,
finally, change the font color. The resulting code is likely to resemble the following:
Bonanza!
The Clean Up HTML and Clean Up XHTML commands are custom made to consolidate redundant tags and
to remove some of the code clutter that can accumulate during a page??™s design.
Pages:
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715