打开新选项卡以阅读PDF文件 [英] Opening a new tab to read a PDF file
本文介绍了打开新选项卡以阅读PDF文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我可能在这里缺少一些简单的东西,不过我会问。我做了一个链接打开一个PDF文件,但它打开在当前标签,而不是一个新的。在HTML中使用什么代码打开一个新标签页来阅读PDF文件。
I am probably missing something simple here, however i will ask anyway. I have made a link to open up a PDF file, however it opens up in the current tab rather than a new one. What code shall i use in HTML to open a new tab to read the PDF file.
<div class="footer_box_content">
<div class="cleaner_h10"></div>
<p>Many thanks to everyone who cleared snow and ice during the cold spell in February.
Should Arctic conditions return, each block has a shovel and a jar of rock salt to clear the steps.
Please click more to read the full newsletter.</p>
<div class="button_01"><a href="newsletter_01.pdf">Read more</a></div>
</div>
推荐答案
<a href="newsletter_01.pdf" target="_blank">Read more</a>
目标_blank将强制浏览器在新窗口中打开
Target _blank will force the browser to open it in a new window
这篇关于打开新选项卡以阅读PDF文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文