eHow launches Android app: Get the best of eHow on the go.

How to Display a PDF File in an HTML Web Page

Video Preview

Summary: In order to display a PDF file in an HTML Web page, insert an iframe into the body of HTML code that is a PDF file. Create a link to a PDF file on a Web site with tips from a software developer in this free video on using the Internet.

Views:
1,033
Presenter
By Dave Andrews
eHow Presenter

Dave Andrews is a software developer with a business and Web site selling programs and other computer services in Franklin, Tenn. Having worked in the IT industry for more than 8...read more

Post a Comment

Post a Comment

Video Transcript

"Hi, my name's Dave Andrews. Today I'm going to show you how to display a PDF in an HTML web page. Let's go to the computer and on my desktop, I have a file here portfolio.pdf which is my portfolio. Also have mypage.htm. If I open up mypage.htm with notepad, you can see the HTML code that makes up this web page. I have a basic HTML with a body in it and I've inserted inside of here a iframe and the source of that iframe is portfolio.pdf. Its width and height are set to 50% so it will cover one half of the screen width-wise and one half of the screen height-wise. Now I've also just below that put in an anchor pointing to my portfolio actually on my web page which is DaveAndrews.org/portfolio.pdf. Now let's open up that page. And as you can see, covering half of the screen height-wise as well as half of the screen width-wise is this PDF file that is my professional portfolio. Directly below that is a link to my portfolio on the web. When I click that link, its opening up the PDF and displaying it full screen within the web browser. My name is Dave Andrews and I've showed you how to display a PDF within an HTML web page."

eHow Article: How to Display a PDF File in an HTML Web Page

Related Ads

  • Have you done this? Click here to let us know.
Computers
Alexia Petrakos,

Meet Alexia Petrakos eHow's Computers Expert.

Get Free Computers Newsletters

Copyright © 1999-2009 eHow, Inc. Use of this web site constitutes acceptance of the eHow Terms of Use and Privacy Policy.   en-US Portions of this page are modifications based on work created and shared by Google and used according to terms described in the Creative Commons 3.0 Attribution License.

eHow Computers
eHow_eHow Technology and Electronics