Archive for February, 2008

Conversion Of A Word Document To HTML Using W2CSS!

Monday, February 4th, 2008

W2CSS is a program that produces a simple HTML file from an MS word document. The HTML that is generated from the word document is a simple and clean code.

This program uses MS word macro for translating word paragraph styles into CSS class definitions.

A style is nothing but formatting instructions that decide how a block of text has to appear. Word styles give instruction on how the text has to appear on a printed page and CSS styles not only take care of printed page styles, but also how the pages appear on the Web.

Although, many people use MS Word, not many really know about these styles that are available in Word and their benefits. There are two types of styles in Word: character styles and paragraph styles.

HTML (hypertext markup language) is a way of using annotations in a plain text file to show formatting. This markup is indicated with the use of tags that enclose the plain text. To indicate a Level 1 heading, the text of the heading has to be enclosed in a “tag” at the beginning and at the end of the text. For example, it has to be tagged as “This is a Level1 Heading.”

CSS (Cascading style sheets) are a system that provide styles within the current structure of HTML. With CSS, instead of the browser controlling the formatting, the person creating the webpage controls the formatting by giving specific instructions. The required style information can be linked to HTML elements. (more…)