当前位置:网站首页>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>
边栏推荐
- FFA and ICGA angiography
- May day C - most
- Basic learning of SQL Server -- creating databases and tables with code
- Go time package common functions
- HDU - 1260 Tickets(线性DP)
- Pigsty: out of the box database distribution
- HB 5469 combustion test method for non-metallic materials in civil aircraft cabin
- 保证接口数据安全的10种方案
- C - linear table
- @Configuration注解的详细介绍
猜你喜欢
95. (cesium chapter) cesium dynamic monomer-3d building (building)
第四期SFO销毁,Starfish OS如何对SFO价值赋能?
Seven years' experience of a test engineer -- to you who walk alone all the way (don't give up)
The result of innovation in professional courses such as robotics (Automation)
【编程题】【Scratch二级】2019.09 绘制雪花图案
C - linear table
ping报错:未知的名称或服务
Preliminary test of optical flow sensor: gl9306
Ping error: unknown name or service
QT and OpenGL: load 3D models using the open asset import library (assimp)
随机推荐
第四期SFO销毁,Starfish OS如何对SFO价值赋能?
网上买基金安全么?
Use filters to count URL request time
Cmake learning notes (1) compile single source programs with cmake
An example analysis of MP4 file format parsing
Visual Studio Deployment Project - Create shortcut to deployed executable
C - Fibonacci sequence again
go time包常用函数
Traduction gratuite en un clic de plus de 300 pages de documents PDF
Orthodontic precautions (continuously updated)
UIC564-2 附录4 –阻燃防火测试:火焰的扩散
神奇快速幂
【leetcode】day1
FFA与ICGA造影
How to put recyclerview in nestedscrollview- How to put RecyclerView inside NestedScrollView?
企业应用需求导向开发之人力部门,员工考勤记录和实发工资业务程序案例
Download AWS toolkit pycharm
Chisel tutorial - 02 Chisel environment configuration and implementation and testing of the first chisel module
LinkedBlockingQueue源码分析-新增和删除
QT and OpenGL: load 3D models using the open asset import library (assimp)