Adding .Doc or .Txt Files to Websites

.Doc or .Txt Files,Have you created a .Document record the use of Microsoft Word, or .Txt report the use of the textual content editor in your pc that you assume your readers will gain from? Did you get permission to feature a link to a .Doc or .Txt report on your internet site? This is the way you upload the .Document or .Txt report on your internet site so your readers can open it or down load it.

Make Sure Your .Document or .Txt Files Are Allowed

Some web hosting offerings don’t allow files over a positive size. Make certain that what you’re about to feature on your website is permitted by your web web hosting carrier first. You do not want to get your internet site shut down for no longer following the regulations or do a variety of paintings getting ready to upload the .Doc or .Txt record to discover you cannot.

If your hosting carrier does not assist you to have massive documents on your web page, and also you need to upload a big report, you could get your very own area call to your internet site or transfer to some other web hosting provider that does permit huge files on web sites.

.Doc or .Txt Files,Upload to Your Website

Upload your .Doc or .Txt documents to your site using the smooth document upload program that your web web hosting service gives. If they do not offer one, then you definitely need to apply an FTP software to add your .Document or .Txt report to your internet site.

Find Address (URL)

Where did you add the .Document or .Txt record to? Did you upload the .Doc or .Txt record to the main folder on your web page or to every other folder? Or, did you create a brand new folder for your web site only for .Doc or .Txt files? Find the cope with of the .Document or .Txt document on your internet site so that you can hyperlink to it.

Choose a Location for Your .Doc or .Txt File

Which web page, and in which on the page, do you want the hyperlink for your .Document or .Txt report to be? You need to determine where you need the hyperlink to the .Document or .Txt document to show on the web page.

Find the Location in Your HTML

Look via the code on your website till you discover the spot in which you need to add the link for your .Doc or .Txt file. You may additionally want to add

before you enter the code, for the link in your .Document or .Txt document, to feature a space.

Add the Link

Add the code to the place where you need the link to the .Doc or .Txt report to show up to your HTML code. It’s sincerely the equal hyperlink code that you could use for a ordinary web site hyperlink. You can make the text for the .Document or .Txt document link say something you want it to.

Example

Your internet site is hosted at Freeservers.

The username in your web site is “sunny.”

Your website online is located at http://sunny.Freeservers.Com

You uploaded the .Document record to the principle listing for your file supervisor for your site

The .Document file is referred to as “flowers.Doc.

“The textual content you want the reader to click on directly to download the .Document file is “Click here for the .Doc record known as plant life.”

Your code will look like this:

<a href="http://sunny.freeservers.com/flowers.doc">Click here for the .doc file called flowers.</a>

It is a .txt file instead, then the code will look like this instead:

<a href="http://sunny.freeservers.com/flowers.txt">Click here for the .txt file called flowers.</a>

When you had uploaded the .doc file to a folder called “fun,” the code for the link to the .doc file would look like this instead:

<a href ="http://sunny.freeservers.com/fun/flowers.doc">Click here for the .doc file called flowers.</a>

When you are using a .txt file instead, then the code will look like this:

<a href ="http://sunny.freeservers.com/fun/flowers.txt">Click here for the .txt file called flowers.</a>

Testing the File Link

If you’re developing your internet site in your computer, earlier than downloading the web page and the .Doc file in your server, and you need to check the link to the .Document report to make certain it works proper, you may need to hyperlink to the .Doc record to your difficult power like this:

  • The .Doc file is located in the My Documents folder
  • It is called “plants.Document”
  • The textual content for the .Doc file says “Click right here for the .Doc report referred to as vegetation.”
  • The code is:
<a href ="file:///C|/My Documents\flowers.doc">Click here for the .doc file called flowers.</a>
  • When you are using a .txt file instead, then the code will look like this:
<a href ="file:///C|/My Documents\flowers.txt">Click here for the .txt file called flowers.</a>