• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 193
  • Last Modified:

html code

Hi Guys,

I am looking for some code so i can attach a file on my website??

I cant find any online
0
jonathanduane2010
Asked:
jonathanduane2010
3 Solutions
 
Carl TawnSystems and Integration DeveloperCommented:
Do you mean you want to add a link to a file on your page, or do you want to embed the document in the page? If the latter, then what type of file is it?
0
 
Loganathan NatarajanLAMP DeveloperCommented:
Do you want to upload a file for website? You need a server script like PHP? Only then you can write upload process.
0
 
Tej Pratap Shukla ~DexterServer AdministratorCommented:
hi..

In the very first step, you should upload the file on the server that you want to attach. Once the document get uploaded, just link the document in your html page.
An Example is shown below.

<a href = "link_of_the_file">Text</a>

In this way your attachment will available on HTML page.
0
 
Paul SauvéRetiredCommented:
>>I am looking for some code so i can attach a file on my website??

If I remember correctly, you have a WordPress site..

What you can do is: go the the wp-admin page of your site and upload any file you wish using the WP Media function. Now you can put a link to that file on any page of your WP site by selecting Insert Media.

Here is an example of some pdf files I made available on a site I created: http://www.permitscanada.com/permits-permis/
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now