At work, sometimes we may need to convert a Word document into an HTML page format, such as when writing a help document, office writing, and eventually to the Web page format to the site's designated directory for users to browse directly
At this point we need to convert the Word file, just the Office software with the function of conversion, just a few places we need to do a simple setup, you can make the converted HTM file, browse the effect is better, the conversion method is as follows
1. Open the Word file that you want to convert, "Office Button-Save as-other formats", save type selection, filtered page format (*. htm;*html)
2. Then select the "Tools-->web option (W)--and encode" to save this document as (s): SELECT,Unicode (UTF-8) type encoding, as shown in:
3, then will be a folder and a HML format file, so that the default converted HTM file opens, you will find the picture in the browser is not centered, here we can add the following sentence in the HTM file style sheet.
{margin:0 Auto; Display:block;}
After adding the above code, and then using the browser to open the converted HTM file, the image will be displayed in the same way as in Word documents, the whole page display is more beautiful.
Ways to turn Word documents into HTML pages