1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

How to insert PDF into html?

Discussion in 'HTML & Website Design' started by swapshop, Sep 23, 2008.

  1. #1
    How to insert PDF into html?

    Can any one point me in the right direction?

    I have 3 pdfs that I need a link on a html page that will open the pdfs in the page?
     
    swapshop, Sep 23, 2008 IP
  2. ChrisTaylor

    ChrisTaylor Guest

    Messages:
    60
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #2
    <a href="filename.pdf"></a> That will work.

    For example: - Tag Rugby League has a pdf link for sponsorship package.

    Hope it helps.
     
    ChrisTaylor, Sep 23, 2008 IP
  3. swapshop

    swapshop Peon

    Messages:
    656
    Likes Received:
    34
    Best Answers:
    0
    Trophy Points:
    0
    #3
    yes tried that but FF doesnt like it?

    Could not lauch Acrobat and yes it is installed?
     
    swapshop, Sep 23, 2008 IP
  4. infogle

    infogle Prominent Member

    Messages:
    2,732
    Likes Received:
    128
    Best Answers:
    1
    Trophy Points:
    300
    #4
    In firefox you need to define which component has to be directly opened and which is to be saved...

    for this just do the following:

    1: Open your firefox
    2: Go to Tools >> Options >> Applications

    Here you need to define the action that needs to be performed... as you want to save the file or directly open it in to acrobat reader.

    Hope this helps...
     
    infogle, Sep 23, 2008 IP
  5. swapshop

    swapshop Peon

    Messages:
    656
    Likes Received:
    34
    Best Answers:
    0
    Trophy Points:
    0
    #5
    yes its does know the file association
     
    swapshop, Sep 23, 2008 IP
  6. manrow

    manrow Peon

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Thanks Guys but I still cannot get this to work!

    Chris Taylor suggests a system, but that presupposes that the pdf is in a website somewhere rather than simply stored on my computer?
     
    manrow, Jun 19, 2009 IP
  7. bi2002tec

    bi2002tec Peon

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Hi
    I have been around your kind of situation for while... Use the <embed> tag to insert your pdf file, try the following example:

    "<object type="application/pdf" data="YourFile.pdf" " width="90%" height="90%" < >/object >"

    To provide alternative if the viewer browser doesn’t support the <embed> tag include a link like the following example:

    "<object type="application/pdf" data="YourFile.pdf" " width="90%" height="90%" <a href="YourFile.pdf" alt="short description of your file here" >/object >"

    Am not good at this because i am more inclined into ASP.NET but it works for me and i hope it help.
     
    bi2002tec, Mar 10, 2010 IP
  8. Howlee

    Howlee Peon

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Thanks for the info on how to embed .pdf files into an HTML document. Both methods worked; however, the HTML document will no longer scroll using the scroll wheel, with either suggested method.

    Is this normal?

    Howlee
     
    Howlee, Jun 6, 2010 IP
  9. gigiwill

    gigiwill Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Converting a PDF to HTML with Some PDF to Html Converter eliminates the problem Web browsers have of locking up and crashing when attempting to display a PDF file inside the browser window. It does NOT need Adobe Acrobat software. It processes at very high speed and you can convert multiple PDF files to Html files at one time.

    1、 Import PDF files for conversion .Drag your PDF files into the program
    2、 selected PDF files to select an output format for the exported document. Youcyou can select “HTML Document(html)” from the format list.
    3、click the “convert” button to PDF to HTML conversion will be finish in seconds, you can view the target HTML web by click the “H” icon.
     
    gigiwill, Jun 6, 2012 IP
  10. Dipak_debnath

    Dipak_debnath Peon

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #10
    how to link up HTML comment in blog spot.
     
    Dipak_debnath, Jun 10, 2012 IP
  11. D3rek

    D3rek Well-Known Member

    Messages:
    1,345
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    100
    #11
    D3rek, Jun 10, 2012 IP
  12. amyfu

    amyfu Peon

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #12
    this way is a little complicated for me any other easy way or good converter to recommend ?
     
    Last edited: Jun 10, 2012
    amyfu, Jun 10, 2012 IP
  13. michaelhomas83

    michaelhomas83 Peon

    Messages:
    141
    Likes Received:
    0
    Best Answers:
    1
    Trophy Points:
    0
    #13
    <a href="pdffilename.pdf"></a> this will work
     
    michaelhomas83, Jun 12, 2012 IP
  14. robaid

    robaid Member

    Messages:
    126
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    35
    #14
    No, that just links to the file. To embed it into the page you can use <embed src=\"filename.pdf\" width=\"500\" height=\"400\"> but it doesn't have the same look on different browsers and operating systems.

    As a solution, listen what D3rek said, try using scribd or some other online PDF storing website and embed their code into your page.

    EDIT: you can also use iframes, but i tend not to use them <iframe src = path-to-your-file-and-extension width=500 height=400 ></iframe>

    EDIT 2: then create a page which links to the pages where you embeded your PDF :)
     
    Last edited: Jun 12, 2012
    robaid, Jun 12, 2012 IP
  15. mamtak

    mamtak Member

    Messages:
    229
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    28
    #15
    Upload the PDF file to your web site. Then add a link in your HTML document like this:
    <a href="application.pdf">
    Click here for Application
    </a>
     
    mamtak, Jun 12, 2012 IP
  16. marketing3

    marketing3 Peon

    Messages:
    37
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #16
    For the purpose of insert PDF on any website then you may certainly use this command to do that....... <EMBED src="example1.pdf" width="444" height="345"></EMBED> This will really help you regarding this matter.....
     
    marketing3, Jun 13, 2012 IP
  17. arunnayak

    arunnayak Peon

    Messages:
    41
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #17
    in some browsers you can connect pdf to html via href process. but in some cases if that did not work the you have to use the converter to make the thing.
     
    arunnayak, Jun 14, 2012 IP
  18. Davidsaga

    Davidsaga Peon

    Messages:
    17
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #18
    Davidsaga, Jun 27, 2012 IP
  19. FemaleAdda

    FemaleAdda Member

    Messages:
    142
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    43
    #19
    If you don't wanna trouble yourselves very much then simply use one of the online pdf to html conversion tools. They work just fine. Or maybe just for me, since I am a non technical person.
     
    FemaleAdda, Feb 18, 2016 IP
  20. nirob

    nirob Greenhorn

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    21
    #20
    what is pdf and html ????????????
     
    nirob, Feb 20, 2016 IP