Question:I want to have a web page coded with HTML5, and I want to be able to put a PDF file onto this page so you can view it without having to click on any links to download it separately. Anyone know how to do this? I want it to keep the text, images, and layout of the PDF file also. If that weren't the case I would just use an image. Thanks!
This will be hopefully going onto the iPad. So it won't support adobe. I need to just find a way to somehow make the PDF file show up in an html5 page without using a PDF viewer. I want to keep all of its layers. It doesn't have to stay a PDF file when its on the page, I just need to find a way to transfer all of those layers there without having to do this manually with divs for each image, paragraph, etc.
Answer: If you need to embed PDF in HTML 5 code website for small size devices like iPad viewing, maybe you can have a free trial of this free online cloud based application named Free Online Document Viewer (Flash & HTML5 Paper Viewer), by which you can embed PDF to HTML 5 code website. And this API cloud based application, it is quite easy to use. If you need to adjust divs for each image from background code, this software can not help you do that. When embedding, this software can help transfer all of those layers to new website. Please check more related information of this software on homepage, in the following part, I will show you how to use this software.
- When you go the website then you will know how to use it. It is quite easy to handle, so I will not introduce steps here.
- Please follow steps stated on website and then you click button View Online. In the newly bounced tab, you can get the embedded code.
- Please make sure choose the HTML 5 Paper Viewer then you can get the embedded code for HTML 5 code website.
Step 2. Embed PDF for HTML 5 code website.
- After clicking button of View Online then you will see the following code in the newly bounced tab:
[iframe Embed Code] <iframe src="http://online.verypdf.com/app/reader/?url=http://online.verypdf.com/u/41/api/20131010-021550-9420513920.pdf" width="800px" height="600px"></iframe>
- There are URL of a PDF and embed code saved in the form of iframe. By the code, you can embed PDF in HTML 5 code website and then view it on small size devices like iPad.
- For showing example, I embedded it here, you can open any browser of your iPad to browse this website. There should not have any problem.
During the using, if you have any question, please contact us as soon as possible.