• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 10. Moving on Down the Road: Int... > Alias: The Dreamweaver Command

Alias: The Dreamweaver Command

Look out XHTML, there’s a new sheriff in town and you’d better clean up your act. An old Dreamweaver workhorse command, Clean Up HTML, has been enhanced to also handle XHTML pages. Found under the Commands menu, this handy feature obligingly changes its name according to the page type: When a regular HTML page is the current one, you’ll see Clean Up HTML in the menu; XHTML page users will see Clean Up XHTML. No matter what it’s called, this command is great to run first when you get a page handed off to you and then again in the final stages of page design. With Clean Up HTML/XHTML, you can rid your page of unused tag pairs (such as <h2>...</h2>) and redundant nested tags. The command also can strip out HTML comments whether they are the standard variety or Dreamweaver-specific comments. Be careful if you decide to go the latter route, however; removing Dreamweaver-inserted comments will also remove any template or Library item functionality. One last tip for the Clean Up HTML/XHTML command: If you want to remove specific tags, just enter the text of the tag and not the full tag (for example, enter b for the bold tag rather than <b>). For multiple tags, enter them in a space-separated list, such as b i u.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint