Here comes a short quick tip to embed PDF document or PowerPoint presentation to your web page. The good thing is that it uses Google Docs and doesn’t require you to sign-up or login to use it.
Have a look at the following code:
<iframe src="https://docs.google.com/gview?url=[Enter File URL Here]&embedded=true" style="width:600px; height:500px;" frameborder="0"></iframe>
Just copy the above code and paste it on the webpage you want to embed the file, make sure you have replaced the ‘[Enter URL Here]’ line with the file URL of your own. The document doesn’t needs to be uploaded to Google Docs, but it must be online. Below I have embedded a test PDF document,