header ads

How to Embed PDF in Blogger Website

How to Embed PDF in Blogger Website, How to add PDF in Blogger Website, Embed PDF in Blogger script, PDF embeder codes free download, conversion-tools

Do you want to embed PDF files in your Blogger website? In this article, I will share with you the easiest way to embed a PDF in any webpage.

As you know, we can't upload PDF files directly to the Blogger website. Therefore, we need to upload our PDF file to a third-party service like Google Drive.

There are three ways to embed PDF files in HTML:

  • Using the <object> tag
  • Using an <iframe>
  • Using embed tag
  • But in this tutorial, we will use the HTML iframe to embed the PDF file in the Blogger website, as it is widely supported in all browsers.

    Steps to Embed a PDF File in Blogger

  • First, upload the PDF file to Google Drive.
  • Change the share link permission to public view and copy the link to the clipboard.
  • Now you need to add the below iframe code in the HTML view of the blog post.
  • Then change the Gdrive file id with the given code and save the post. 
  • In the above code, you need to change this id 18bJlmnGH7e1Ku_f1CHdNDt2L6rnBBkJc

    Now the PDF file is successfully embedded in the Blogger website.

    You can also adjust the height and width according to the PDF file and the webpage dimensions.

    I hope you have learned how to embed PDF files on the Blogger website from this article.

    Post a Comment