How to Embed a Word Document Into a Website

Microsoft Word can save its files as either documents or Web pages. If you want to embed a file's content into a larger Web page on your company site, you can extract its HTML code and paste it into your page. If you'd rather people access the file exactly as it appears in the Word document, as would be the case when you share an extended company report, you can embed the document as a link so that users can download the original file.

Embed as HTML

  1. Open your document in Microsoft Word and then press "Alt-F-A" to open the Save As dialog box.
  2. Click the "Save as Type" drop-down box. Select "Single file Web page" and click "Save."
  3. Open the MHTML file you just created, using a text editor such as Notepad or an HTML editor such as Dreamweaver. Open your Web page code in a second window or tab.
  4. Copy the code between the "" tags in the MHTML document and paste the code into the corresponding style section of your Web page.
  5. Copy the content that appears between the "" and "" tags in the MHTML file and paste it before the closing "

Article continues below this ad