Skip to main content
carries7564
Participating Frequently
May 19, 2017
Answered

Embedding PDF into Dreamweaver

I am new to Dreamweaver and HTML. I am trying to insert a PDF document into a webpage, and have tried using each of the below codes:

<object data="Name.pdf" TYPE="application/x-pdf" title="Name" width="1140" height="1500">

   </object>

<embed src="Name.pdf" width="1140" height="1500"></embed>

A gray placeholder appears, as if to load the pdf, but instead the puzzle piece icon appears, with the words, "This plug-in is not supported."

Thank you.

    This topic is closed to new replies. Start a new post to keep the conversation going.
    Nancy OShea
    Nancy OSheaCorrect answer
    Community Expert
    May 19, 2017

    PDF is media.  And because it's media it needs browser plugins and helper applications to make it render inside a browser.  However, modern browsers are stopping support for 3rd party plugins mainly for security reasons. 

    The best way to handle PDF files is to put them on your server and add an ordinary HTML link to your document like this.

    <a href="Awesome.pdf">My Awesome PDF (filesize 356 kb)</a>

    This way people can see that it's a PDF file and they can choose which application to open it with -- Acrobat Reader or Acrobat Pro or something else.

    Nancy O'Shea— Product User & Community Expert

    1 reply

    Nancy OShea
    Community Expert
    Nancy OSheaCommunity ExpertCorrect answer
    Community Expert
    May 19, 2017

    PDF is media.  And because it's media it needs browser plugins and helper applications to make it render inside a browser.  However, modern browsers are stopping support for 3rd party plugins mainly for security reasons. 

    The best way to handle PDF files is to put them on your server and add an ordinary HTML link to your document like this.

    <a href="Awesome.pdf">My Awesome PDF (filesize 356 kb)</a>

    This way people can see that it's a PDF file and they can choose which application to open it with -- Acrobat Reader or Acrobat Pro or something else.

    Translate
    Nancy O'Shea— Product User & Community Expert