Solved

html code

Posted on 2015-01-06
4
173 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 33

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

Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

Question has a verified solution.

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

Australian government abolished Visa 457 earlier this April and this article describes how this decision might affect Australian IT scene and IT experts.
When it comes to security, close monitoring is a must. According to WhiteHat Security annual report, a substantial number of all web applications are vulnerable always. Monitis offers a new product - fully-featured Website security monitoring and pr…
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

632 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