当前位置:网站首页>Open display PDF file in web page
Open display PDF file in web page
2022-07-07 23:57:00 【Liu Chu, Ge Nian】
List of articles
1、 Click on PDF The file link
Click on PDF The file link opens on a new page pdf file ( take PDF Files are placed in and HTML File in the same directory ):
<a href="Test.pdf" target="_blank">PDF<a>
If you will PDF Change the document to Docx file , Then click to download the page , Don't like PDF Show the content on a new page like a file ‘;
If you will PDF Change file to picture file , Then click to display the picture on the new page ;
If you will PDF Change the file to a folder , Then open the whole directory , And you can access its content , similar FTP service
2、 Through your browser :360、Firefox、Chrome
<embed width="800" height="600" src="test.pdf"></embed>
3、 Through your browser :360、IE Failed browser :Firefox、Chrome
<object classid="clsid:CA8A9780-280D-11CF-A24D-444553540000" width="800" height="600" border="0">
<param name="SRC" value="test_pdf.pdf">
</object>
Here's the whole point :
<object classid="clsid:CA8A9780-280D-11CF-A24D-444553540000" width="100%" height="100%" border="0"><!--IE-->
<param name="_Version" value="65539">
<param name="_ExtentX" value="20108">
<param name="_ExtentY" value="10866">
<param name="_StockProps" value="0">
<param name="SRC" value="testing_pdf.pdf">
<embed src="testing_pdf.pdf" width="100%" height="800" href="testing_pdf.pdf"></embed><!--FF-->
</object>
4、 Through your browser :360、Firefox、IE、Chrome
<iframe src="test_pdf.pdf" width="800" height="600"></iframe>
边栏推荐
- How to put recyclerview in nestedscrollview- How to put RecyclerView inside NestedScrollView?
- Cmake learning notes (1) compile single source programs with cmake
- 正畸注意事项(持续更新中)
- Robomaster visual tutorial (11) summary
- Database interview questions + analysis
- P1067 [noip2009 popularity group] polynomial output (difficult, pit)
- 35岁真就成了职业危机?不,我的技术在积累,我还越吃越香了
- P2141 [noip2014 popularization group] abacus mental arithmetic test
- Tools for debugging makefiles - tool for debugging makefiles
- postgres timestamp转人眼时间字符串或者毫秒值
猜你喜欢
QT and OpenGL: load 3D models using the open asset import library (assimp)
用语雀写文章了,功能真心强大!
受限线性表
[leetcode] 20. Valid brackets
80%的人答错,苹果logo上的叶子到底朝左还是朝右?
【编程题】【Scratch二级】2019.03 垃圾分类
Go learning notes (1) environment installation and hello world
Flash download setup
Chisel tutorial - 02 Chisel environment configuration and implementation and testing of the first chisel module
How did a fake offer steal $540million from "axie infinity"?
随机推荐
HDU - 1260 Tickets(线性DP)
Pigsty: out of the box database distribution
解析token的网址
一个测试工程师的7年感悟 ---- 致在一路独行的你(别放弃)
第四期SFO销毁,Starfish OS如何对SFO价值赋能?
QT creator add custom new file / Project Template Wizard
SQL uses the in keyword to query multiple fields
Go learning notes (2) basic types and statements (1)
Apng2gif solutions to various problems
如何衡量产品是否“刚需、高频、痛点”
受限线性表
Rock-paper-scissors
webflux - webclient Connect reset by peer Error
【LeetCode】20、有效的括号
webflux - webclient Connect reset by peer Error
关于CH32库函数与STM32库函数的区别
35岁真就成了职业危机?不,我的技术在积累,我还越吃越香了
网上买基金安全么?
二叉排序树【BST】——创建、查找、删除、输出
aws-aws help报错