Ways to turn Word documents into HTML pages

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.