Answers for "link pdf file html"

0

show pdf in html

<iframe
    src="https://drive.google.com/viewerng/viewer?embedded=true&url=http://infolab.stanford.edu/pub/papers/google.pdf#toolbar=0&scrollbar=0"
    frameBorder="0"
    scrolling="auto"
    height="100%"
    width="100%"
></iframe>
Posted by: Guest on July-27-2021
0

html insert pdf

<embed src="http://example.com/the.pdf" width="500" height="375" 
 type="application/pdf">
Posted by: Guest on August-12-2021
0

html link to pdf

Since you have not clarified for us whether you are using a local host or just viewing the text file in the browser I will assume the latter.

In this case, you would have your anchor tag and in the href attribute put the location of the file

<a href="C:\Users\Shannon Myers\Documents\Biology-DNA\teen_time_report.pdf">ok</a>
In the above example I started from my C: drive and went from there. Also you could do it as follows:

<a href="Resources\teen_time_report.pdf">ok</a>
This should link to the pdf file that you have in mind, as long as the resources folder and html file are in the same folder
Posted by: Guest on March-17-2021

Browse Popular Code Answers by Language