Friday, December 4, 2009

How to Embed a PDF into Your Web Pages

Technical writers use many different software programs and files types. Sometimes they integrate and sometimes they don’t. As someone who creates Web sites and writes white papers, I often need to post the white paper on the Internet.

Converting a white paper to HTML often creates formatting issues, and creating a hyperlink to the PDF means they are going to leave your Web site for all practical purposes. If they leave your Web site, you could be losing a new client.

I like to embed PDFs into the Web site’s HTML, and it’s simple to do. All it takes is the following code:


Simply adjust the width and height values so it fits neatly into your Web page. Of course, you will need to change the PDF file name from MyDocument to the name of your PDF.

You can also use the ‘embed’ tag to embed the PDF:


  1. Embed a PDF into Your Web Pages really interesting information to every one. In site design i struggle this kinds of problem. i find it time get it your blog. Its save my time and effort. Most of the people follow this kinds of blogs.

    Web Hosting Service

  2. This comment has been removed by the author.