ASP 101 - Active Server Pages 101 - Web05
The Place ASP Developers Go!

Windows Technology Windows Technology
15 Seconds
ASP 101
ASP Wire
VB Forums
VB Wire
internet.commerce internet.commerce
Partners & Affiliates
ASP 101 is an site
ASP 101 is an site
Internet News
Small Business
Personal Technology

Corporate Info
Tech Jobs
E-mail Offers

ASP 101 News Flash ASP 101 News Flash

 Top ASP 101 Stories Top ASP 101 Stories
Connections, Commands, And Procedures
What is ASP?
VBScript Classes: Part 1 of N

Persistent Radio Buttons
Show All Tips >>
ASP 101 RSS Feed ASP 101 Updates

Quick Tips

Exporting HTML from Word

As the editor of a site that often deals with contributed content, I'm sometimes forced to deal with contributions that don't reach me in their optimal format. Being web-based, our format of choice is naturally good old HTML. Most authors on the other hand, prefer writing in a word processor because of the added value they bring to the writing process. Most HTML editors simply don't have a thesaurus or spelling and grammar checking built into them yet. As such, many of our contributions come to me as Microsoft Word documents and I'm stuck trying to convert them to HTML. Luckily I've learned something that helps make the process easier.

We all know that Word has an option on the File menu called "Save as Web Page..." that does just that. The problem is, have you seen the HTML it produces? As a test I opened up Word, typed one sentence into a blank file, and saved it as HTML. The resulting file is 2.5KB in size and contains all sorts of weird tags. Anyone know what <o:p> means? My browser certainly doesn't!

Luckily there's another option. Instead of using the "Save as Web Page..." menu item, do a File -> Save As... and in the "Save as type:" dropdown box select "Web Page, Filtered (*.htm, *.html)". The HTML produced this way is much less cluttered and the resulting file is only 650 bytes... a quarter the size of the other method and your browser won't be able to tell the difference.

For more information about using filtered HTML you might want to check out the following links:

Previous      Show All Tips      Next

If you have a tip you would like to submit, please send it to:

Home |  News |  Samples |  Articles |  Lessons |  Resources |  Forum |  Links |  Search |  Feedback
The Network for Technology Professionals



Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers