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
Solved

html code

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Color can increase conversions, create feelings of warmth or even incite people to get behind a cause. If you want your website to really impact site visitors, then it is vital to consider the impact color has on them.
There’s a good reason for why it’s called a homepage – it closely resembles that of a physical house and the only real difference is that it’s online. Your website’s homepage is where people come to visit you. It’s the family room of your website wh…
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

829 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