Inserting PDF into html

86 views
asked Jul 18, 2013 in General by DinoGuy (2,130 points)
Hello

I have 2 PDFs that I have to insert into an html page. I want to be able to open the PDFs from the html page.  Can any one please point me help me achieve this?
Many thanks

3 Answers

0 like 0 dislike
answered Jul 18, 2013 by TopNet (10,360 points)
Try this
<a href="YourFileName.pdf"></a>
0 like 0 dislike
answered Jul 18, 2013 by tareq101 (4,880 points)
Use the <embed> tag like this
<object type="application/pdf" data="MyFile.pdf" " width="80%" height="80%" < >/object >

you will need to provide an alternative if the browser doesn’t t support the <embed> tag

“<object type="application/pdf" data="MyFile.pdf" " width="80%" height="80%" <a href="MyFile.pdf" alt="descripe your file here" >/object >"
0 like 0 dislike
answered Jul 18, 2013 by lionhost (4,060 points)
Upload your PDF file to your web site first. Then  you can add a link inside your HTML page like this:
<a href="yourfilename.pdf">
YourDescription</a>
...