How do I embed a PDF into a page?
This article explains how to display a PDF on a webpage via embedding. To learn how to create a download link for a PDF (recommended), see portable document format) has become the de facto standard for printable documents, and in theory, doesn't have any built-in means to display on web pages.
If the content of a PDF needs to make it onto a web page, ideally the same information would be recreated in standard HTML, and/or <iframe src="http://docs.google.com/gview?url=http://example.com/YOUR-DOCUMENT.pdf&embedded=true" style="width: 700px; height: 500px;" frameborder="0"></iframe>
... or use the Google Docs Viewer code generator.
PDFObject (object method)
PDFObject is a script created by Philip Hutchison that displays a PDF in an object tag. This solution may be best suited for advanced users.
Please also note:
- These methods may not produce your desired results in all browsers.
- Embedding large image files of PDF pages is not recommended.