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

Chapter 10. Working with Word and Excel ... > Saving Word or Excel Files as HTML

Saving Word or Excel Files as HTML

When you need to use the data in a Microsoft file on a Web page, you can save the file as HTML. There are a couple methods of doing this, which vary slightly depending on the version of Microsoft Office that you're using.


As mentioned in the introduction to this chapter, chances are you'll end up working with files created in Word, or that you'll be e-mailed Word documents to make into HTML files. What if you don't own Word?

Believe it or not, there's now a free version called OpenOffice.org. Developed by Sun in conjunction with several colleges and independent developers, OpenOffice.org is an open-source, cross-platform suite of programs that includes a word processor and a spreadsheet program. You can create files and save them in the Word and Excel formats, and you can open and edit files created with Microsoft software.

OpenOffice can save Word files as HTML without adding quite so much junk to them, too. These tend to use the <font> tag for most items rather than employing CSS, although the CSS it does write is rather strange; for example, it applies many levels of font tags and then includes CSS information as an attribute of the <font> tag—I've never seen that done before.

Open-source software is created by teams of developers who keep their source code available and unlocked, so that they can fix each other's bugs and add or edit program features in their own copies. If you like OpenOffice.org, you can give the developers of the software feedback on how you'd like it to better treat your HTML, or you can pay them a donation so the project can keep being run at a high level of quality.



Not a subscriber?

Start A Free Trial

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