如何在我的项目中添加PDF文件? [英] How can i add PDF file in my project?

查看:105
本文介绍了如何在我的项目中添加PDF文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在我的asp页面中添加一个链接。在点击页面时,它应该在新标签页中打开一个pdf文件

我该怎么做?

请帮帮我

I wanna add one link in my asp page. While clicking on page it should open one pdf file in new tab
How can i do this?
Please help me

推荐答案

你需要做的就是给pdf文件添加一个超链接并设置target =_ blank但是根据它可以在新窗口或新标签页中打开它。
All you need to do is put a hyperlink to the pdf file and set the target="_blank" but depending on the browser it may open in a new window or a new tab.

这篇关于如何在我的项目中添加PDF文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆