Online Test Banks
Score higher
See Online Test Banks
eLearning
Learning anything is easy
Browse Online Courses
Mobile Apps
Learning on the go
Explore Mobile Apps
Dummies Store
Shop for books and more
Start Shopping

Dreamweaver's Clean Up HTML Tools

Another helpful set of tools for checking code are the Clean Up HTML tools. These tools are available from the Command menu. Choosing Command→Clean Up HTML opens the Clean Up HTML/XHTML dialog box, which displays a set of common errors. Selecting any (or all) of those errors and clicking OK prompts Dreamweaver to automatically correct those errors and display a results dialog box that lists all the corrections made.

The following figure shows the results with one empty tag removed.

image0.jpg

The Clean Up Word HTML (accessed by choosing Command→Clean Up Word HTML) is similar to the Clean Up HTML command but it has special tools to detect and eliminate nonstandard and redundant (that is, unnecessary) HTML generated when you paste Word text into Dreamweaver.

There are many check box options for what to test for, but by default all are checked, and you should leave them checked to let Dreamweaver detect all nonstandard and redundant Word HTML. Doing this does not remove content or formatting, it just removes tags that don’t do anything and that add to file size.

The following figure shows the results of cleaning up a paragraph of text copied from Word into Dreamweaver.

image1.jpg
  • Add a Comment
  • Print
  • Share
blog comments powered by Disqus
Advertisement

Inside Dummies.com

Dummies.com Sweepstakes

Win $500. Easy.