html 显示 pdf
2024-09-02 07:33:53
html 显示 pdf文件四种方式:
1、
<embed src="pdf/wobu.pdf" type="application/pdf" width="100%" height="100%">
2、
<iframe src="pdf/wobu.pdf" width="100%" height="100%"></iframe>
3、
<object data="pdf/wobu.pdf" type="application/pdf" width="100%" height="100%"></object>
4、
<object data="pdf/wobu.pdf" type="application/pdf" width="100%" height="100%">
<iframe src="pdf/wobu.pdf" width="100%" height="100%" style="border: none;"></iframe>
</object>
这四种方式无需引用js,无需编写js 如有问题,欢迎留言
最新文章
- 类型转换及返回json对象的问题
- JavaScript在A页面判断B页面加载完毕(iframe load)
- Tomcat version 7.0 only support J2EE 1.2。。。。。。。
- the bundle at bundle path is not signed using an apple submission certificate
- select * from salgrade for update和select * from salgrade for update nowait区别
- 英语语法 It all started the summer before second grade when our moving van pulled into her neighborhood
- JSTL 核心标签库
- Android中使用HTTP服务
- findOneAndUpdate的用法详解
- es6笔记1^_^let、string、number、math
- 解决MySQL 在 Java 检索遇到timestamp空值时报异常的问题
- 爬虫(二)Python网络爬虫相关基础概念、爬取get请求的页面数据
- DataTable序列化
- 微信硬件平台(八) 1 esp8266从自己的服务器获取token
- python学习第天14天。
- 改写pipeline
- shell脚本的基本结构以及如何执行
- cocos2d JS touch(触摸监听)-快速添加事件监听器到管理器
- linux网络配置命令(一)——ifconfig
- AOP 和 前置通知,后置通知