当前位置:网站首页>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>
边栏推荐
- 数据分析系列 之3σ规则/依据拉依达准则来剔除异常值
- Solutions to problems in sqlserver deleting data in tables
- Chisel tutorial - 00 Ex.scala metals plug-in (vs Code), SBT and coursier exchange endogenous
- Wechat applet development beginner 1
- Resolve the URL of token
- 激光slam学习(2D/3D、偏实践)
- Where are you going
- 【编程题】【Scratch二级】2019.03 垃圾分类
- 用语雀写文章了,功能真心强大!
- 【史上最详细】信贷中逾期天数统计说明
猜你喜欢
HB 5469民用飞机机舱内部非金属材料燃烧试验方法
Problems faced when connecting to sqlserver after downloading (I)
Pypharm uses, and the third-party library has errors due to version problems
BSS 7230 航空内饰材料阻燃性能测试
【编程题】【Scratch二级】2019.12 飞翔的小鸟
用語雀寫文章了,功能真心强大!
PostGIS learning
Anaconda+pycharm+pyqt5 configuration problem: pyuic5 cannot be found exe
10 schemes to ensure interface data security
Benchmarking Detection Transfer Learning with Vision Transformers(2021-11)
随机推荐
P5594 [xr-4] simulation match
Rock-paper-scissors
受限线性表
SQL uses the in keyword to query multiple fields
Using Google test in QT
关于组织2021-2022全国青少年电子信息智能创新大赛西南赛区(四川)复赛的通知
gorm 关联关系小结
Dataguard 主备清理归档设置
数据库查询——第几高的数据?
数据湖(十五):Spark与Iceberg整合写操作
@Configuration注解的详细介绍
Uic564-2 Appendix 4 - flame retardant fire test: flame diffusion
limit 与offset的用法(转载)
ping报错:未知的名称或服务
Codeworks 5 questions per day (average 1500) - day 8
c—线性表
HDU - 1260 tickets (linear DP)
35岁那年,我做了一个面临失业的决定
QT creator add custom new file / Project Template Wizard
HDU - 1260 Tickets(线性DP)