January 26, 2009

HTML from a Word Document

To add HTML from a Word document (useful for tables, etc):

  1. In your Word document, in the File menu, select Save as Web Page. The document will be saved to your desktop with a file extension ending in .htm

  2. Open your word document in a web browser (Internet Explorer, Firefox, etc). In the View menu (IE, Firefox) select Source (Internet Explorer) or Page Source (Firefox). A document will open displaying the HTML for that page.

  3. Find the HTML code for the element you are interested in.

  4. Copy the code and paste it into the appropriate place in your blog entry.