当前位置:网站首页>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>
边栏推荐
猜你喜欢
Opengl3.3 mouse picking up objects
【LeetCode】20、有效的括号
Go learning notes (1) environment installation and hello world
95.(cesium篇)cesium动态单体化-3D建筑物(楼栋)
【推荐系统基础】正负样本采样和构造
10 schemes to ensure interface data security
Solutions to problems in sqlserver deleting data in tables
【路径规划】使用垂距限值法与贝塞尔优化A星路径
The result of innovation in professional courses such as robotics (Automation)
【编程题】【Scratch二级】2019.03 绘制方形螺旋
随机推荐
The result of innovation in professional courses such as robotics (Automation)
一个测试工程师的7年感悟 ---- 致在一路独行的你(别放弃)
FFA与ICGA造影
Is it safe for tongdaxin to buy funds?
Codeworks 5 questions per day (average 1500) - day 8
一份假Offer如何盗走了「Axie infinity」5.4亿美元?
数据库查询——第几高的数据?
Problems faced when connecting to sqlserver after downloading (I)
神奇快速幂
Cmake learning notes (1) compile single source programs with cmake
Rock-paper-scissors
P1067 [noip2009 popularity group] polynomial output (difficult, pit)
ping报错:未知的名称或服务
Where are you going
C - Fibonacci sequence again
Robomaster visual tutorial (11) summary
Laser slam learning (2d/3d, partial practice)
P1308 [noip2011 popularity group] count the number of words
2022.7.7-----leetcode.648
Gorm Association summary