Setting up and managing your WHOI website with Dreamweaver

Dreamweaver Class

Site Structure

Design tips

Templates

More Site Structure
Add files and folders
Moving files and folders
Check links
Cleaning up HTML
Site Reports

Remote Site


Staff Training and Development

Cleaning up HTML

Dreamweaver has a Clean Up HTML command that strips out nonessential code, empty tags and nested font tags. It will only work on one page at a time, not on an entire site.

  • open a web page to be cleaned
  • select Commands --> Clean Up HTML
  • turn on the options that you want:
    Empty Tags - deletes any tags that don't modify anything
    Redundant Nested Tags - deletes tags that appear within other tags of the same type
    Non-Dreamweaver HTML Comments - deletes any comments not inserted while using Dreamweaver
    Dreamweaver HTML Comments - deletes comments inserted from Dreamweaver
    Specific Tag(s) - deletes specified HTML tags
    Combine Nested <font> Tags when Possible - combines them into a single tag
    Show Log on Completion - to see a report of all the changes made
  • Click OK to clean up the page
  • to undo changes, keep the page open and type Ctrl-Z

Next