How To Embed A Document On A Website

Table of contents:

How To Embed A Document On A Website
How To Embed A Document On A Website

Video: How To Embed A Document On A Website

Video: How To Embed A Document On A Website
Video: How to Embed PDF Document in HTML Web Page 2024, December
Anonim

Websites have to place not only HTML pages, but also documents in DOC, DOCX, RTF, ODT, etc. When placing them on the server, it is advisable to take into account that not everyone has the software necessary for viewing files of these formats.

How to embed a document on a website
How to embed a document on a website

Instructions

Step 1

Convert the document to HTML format. To do this, open it in the same editor in which you created it (or in another editor capable of working with files of the same format), and then from the File menu select the Save As item. Select HTML from the list of formats, and when prompted for an encoding, select Unicode. The result will be an HTML file and a set of graphic files (depending on the editor, in the same or a separate folder). Place all files on the server (if the images are in a separate folder, along with it). After that, it will be enough to place a link to this HTML file on one of the site pages.

Step 2

You can also do the following. Place the file in any folder of the space allocated to you on the server. Go to the Google Wireless Translator website (see the link below). Put the address of the document in the Enter URL field, and then click the Start button below that field. After converting the document, place the link that appears in the address bar of the browser in the desired place on the page on the site.

Step 3

Using the methods described above results in a large change in the formatting of the document. Almost free from this drawback are online services that convert a file not to text, but to a set of images. Go to the Google Docs Viewers site (also linked below). In the "Enter the URL of the document below to generate a link to it" field, enter the full path to the document stored on your server. Click the Create Link button and then place the auto-generated URL where you want it on the page.

Step 4

Just in case, place on the website a direct link to the document stored on the server. This will allow those visitors who have the necessary editors or viewers to download the original and view it without distortion.

Recommended: