How can you put a PDF file in a HTML link?

Asked By 60 points N/A Posted on -
qa-featured

Good day everyone. 

I was given a pdf file by my teacher and she want's it to be in a HTML link. But I had confusion in opening a pdf in html link. I hope for an answer. Thank You and God Bless.

SHARE
Best Answer by Peter A May
Best Answer
Best Answer
Answered By 10 points N/A #172314

How can you put a PDF file in a HTML link?

qa-featured

 

Hi Alex A Gonzales,

Just follow my steps and where I write “Your File” there you should write the file name of the PDF. Mind it, you must keep your both html and pdf file in the same folder.

Code for you-

<html>

          <head>

          </head>

          <body>

                   <a href=" Your File.pdf"> A PDF File</a>

          </body>

</html>

I think this code will help you for your assignment. Just try, it must be working.

Best of luck

Peter A May

 

Answered By 0 points N/A #172315

How can you put a PDF file in a HTML link?

qa-featured

 

Dear user,
To put a PDF file in a HTML link, firstly, you have to upload your PDF file to your website. Then you have to add the link in the existing HTML document. For your help, I have attached the code file with the solution. That will surely work for you. 
Hope this will help you.
Thank you.
 

Related Questions