HTML如何在新窗口打开一个页面
代码:
<html>
<body>
<a href="http://www.w3school.com.cn/" target="_blank">Visit W3School!</a>
<p>如果把链接的 target 属性设置为 "_blank",该链接会在新窗口中打开。</p>
</body>
</html>
以上就是HTML如何在新窗口打开一个页面,希望大家喜欢,请继续关注范的软件库。
转载请注明:范的资源库 » HTML如何在新窗口打开一个页面