How to Put a Word Document on Your Website
Open your Web page source code., Insert a tag called in the body section of your html code., Copy the following code: Click here to open a Word document , Paste the code in "Step 3" onto your text editor., Click “File” and select “Save.” , Preview...
Step-by-Step Guide
-
Step 1: Open your Web page source code.
This is the page where you want to put your Word document in.
You can use any text editor you like.
In this case, I use Notepad ++ as a playground for this article. -
Step 2: Insert a tag called <p></p> in the body section of your html code.
In this example, the link will be inserted within a paragraph.
However, you can choose wherever to put your Microsoft Word document in your Web page, it doesn’t have to be inside the <p></p> tag which is for a paragraph element. ,, The “YourDocument.doc” is where you can replace it with your own name.
But, don’t forget to put the “.doc” extension after the name if you use or save your document to the Microsoft Office Word 97-2003 format. ,, Click “File” then go to “Preview in Browser.” Click “Google Chrome” or whatever your default Internet browser is. , Click the link to make sure the link works. , Click “OK.” Your Word document is opened. , Now you know how to put a Word document on your website. -
Step 3: Copy the following code: <a href="YourDocument.doc" target='_blank' title="Click here to open a Word document"> Click here to open a Word document</a>
-
Step 4: Paste the code in "Step 3" onto your text editor.
-
Step 5: Click “File” and select “Save.”
-
Step 6: Preview the result.
-
Step 7: The “Click here to open a Word document” is displayed.
-
Step 8: An opening document dialog box is shown.
-
Step 9: Congratulations!
Detailed Guide
This is the page where you want to put your Word document in.
You can use any text editor you like.
In this case, I use Notepad ++ as a playground for this article.
In this example, the link will be inserted within a paragraph.
However, you can choose wherever to put your Microsoft Word document in your Web page, it doesn’t have to be inside the <p></p> tag which is for a paragraph element. ,, The “YourDocument.doc” is where you can replace it with your own name.
But, don’t forget to put the “.doc” extension after the name if you use or save your document to the Microsoft Office Word 97-2003 format. ,, Click “File” then go to “Preview in Browser.” Click “Google Chrome” or whatever your default Internet browser is. , Click the link to make sure the link works. , Click “OK.” Your Word document is opened. , Now you know how to put a Word document on your website.
About the Author
Teresa Nelson
Creates helpful guides on pet care to inspire and educate readers.
Rate This Guide
How helpful was this guide? Click to rate: