我可能在这里遗漏了一些简单的东西,但是我仍然会问.我已经建立了一个链接来打开一个PDF文件,但是它打开了当前选项卡,而不是一个新的.我将在
HTML中使用什么代码打开一个新的标签来阅读PDF文件.
<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>
Target _blank将强制浏览器在新窗口中打开它