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

Lesson 1. Learning the Basics > Cleaning Up Word HTML

Cleaning Up Word HTML

You may get content for your pages from a variety of sources. Clients or colleagues might send text or changes by e-mail or send the content in a Microsoft Word file. If the format of the Word document is fairly simple, you can use the copy-and-paste method to import your text into Dreamweaver. If the Word document has formatting such as bullets or tables, you may want to save the document as a Web page (choose File > Save As Web Page in Word 97 or later) and open the resulting HTML file in Dreamweaver. Word may insert some unnecessary tags, however. You can clean up this code in Dreamweaver in one step. The tags that Dreamweaver removes are required to display the page in Word but are not needed in HTML or the browser.

Choose File > Import > Import Word HTML.

The Select Word HTML File to Import dialog box opens.

Select the Biking_Adventures.htm file from Lesson_01_Text/Text and click Open.

This HTML file was saved from a Word 2000 document. Dreamweaver opens the file and then opens the Clean Up Word HTML dialog box automatically.

Dreamweaver attempts to determine what version of Word was used to create the HTML. If Dreamweaver is unable to determine the version, you need to choose the correct version from the drop-down menu. For this exercise, choose Word 2000.

The dialog box has two tabs, Basic and Detailed, with several options to check for each. For this exercise, you can use the default setting (all options checked).

Click OK.

Dreamweaver displays a dialog box listing all the changes that it made.

Click OK again to close the dialog box. Save and close the file.



Not a subscriber?

Start A Free Trial

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