Solved

html code

Posted on 2015-01-06
4
170 Views
Last Modified: 2015-01-08
Hi Guys,

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

I cant find any online
0
Comment
Question by:jonathanduane2010
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 52

Expert Comment

by:Carl Tawn
ID: 40533136
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
 
LVL 36

Assisted Solution

by:Loganathan Natarajan
Loganathan Natarajan earned 167 total points
ID: 40533137
Do you want to upload a file for website? You need a server script like PHP? Only then you can write upload process.
0
 
LVL 11

Assisted Solution

by:Tej Pratap Shukla ~Dexter
Tej Pratap Shukla ~Dexter earned 167 total points
ID: 40533152
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
 
LVL 32

Accepted Solution

by:
Paul Sauvé earned 166 total points
ID: 40533676
>>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

Featured Post

[Webinar] Code, Load, and Grow

Managing multiple websites, servers, applications, and security on a daily basis? Join us for a webinar on May 25th to learn how to simplify administration and management of virtual hosts for IT admins, create a secure environment, and deploy code more effectively and frequently.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question