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



Windows Technology Windows Technology
15 Seconds
4GuysFromRolla.com
ASP 101
ASP Wire
VB Forums
VB Wire
WinDrivers.com
internet.commerce internet.commerce
Partners & Affiliates
ASP 101 is an
internet.com site
ASP 101 is an internet.com site
IT
Developer
Internet News
Small Business
Personal Technology

Search internet.com
Advertise
Corporate Info
Newsletters
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

QUICK TIP:
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: webmaster@asp101.com.


Home |  News |  Samples |  Articles |  Lessons |  Resources |  Forum |  Links |  Search |  Feedback

Internet.com
The Network for Technology Professionals

Search:

About Internet.com

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