How To Embed PDF, DOC, XLS And PPT Files In Blogger

How To Embed PDF, DOC, XLS And PPT Files In Blogger



How To Embed PDF, DOC, XLS And PPT Files In Blogger


In order to embed almost anything to Blogger, the HTML iframe tag is your best friend. If it is a file you want to embed from some other website or online source, all you have to do is add the html code in the right place. iframe basically allows you to display a web page within a web page, using this property of its' you can easily embed a Microsoft Office/PDF file in your blog post. Here is how you can do that:
  • Go to the HTML section of your post.
  • Locate the point in your post where you want your file to be embedded.
  • Add the following iframe code
<iframe src="yourURLhere" width="570" height="400" ></iframe>

Replace yourURLhere with the web address of the file you want to embed in your post. You can set the height and width of the frame as required.

What if your file isn't available online?

You can make it available online by using Google Drive by uploading that required file from your computer to Google Drive and then use the above mentioned method to embed it to your post. Here's what you'll need to do:
  • Go to drive.google.com and Sign-in with your Google account
  • Upload your file to Google drive
  • Set the permissions
The permissions here refer to the file access which is by-default private on Google Drive i.e. only the uploader has the access to a file. You'll be needing to change that for sure.
  • Right click on the uploaded file and select Share
  • embed pdf microsoft office files in blogger
  • A dialogue box will appear with the file URL and a list of users who have access to the file. Click on Change in the Who has access panel
  • embed pdf microsoft office files in blogger
  • Select ‘Anyone with the link’ from the dialogue box and hit Save
  • embed pdf microsoft office files in blogger

Now use that URL of the file and embed it to your blogger post anywhere you desire. Below is a DOC embedded onto the blog post directly from Google Drive.





Post a Comment

Thank for feedback u

 
Top