在网络浏览器中显示 PDF [英] Display PDF within web browser
本文介绍了在网络浏览器中显示 PDF的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在 Web 浏览器中的 .html 页面上显示 pdf?
How can I display a pdf within a web browser on an .html page?
推荐答案
我使用 Google Docs 可嵌入的 PDF 查看器.文档不必上传到 Google 文档,但必须在线可用.
I use Google Docs embeddable PDF viewer. The docs don't have to be uploaded to Google Docs, but they do have to be available online.
<iframe src="http://docs.google.com/gview?url=http://path.com/to/your/pdf.pdf&embedded=true"
style="width:600px; height:500px;" frameborder="0"></iframe>
这篇关于在网络浏览器中显示 PDF的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文