下面是代码
<a href="www.yahoo.com" target="_blank">Yahoo!</a>
它显示下一页的URL如下
http://99.1.0.39/test/test-2/www.yahoo.com
如何用www.yahoo.com打开新页面?
如果您不确定该协议使用
<a href="//www.yahoo.com" target="_blank">Yahoo!</a>
要么
<a href="https://www.yahoo.com" target="_blank">Yahoo!</a>
要么
<a href="http://www.yahoo.com" target="_blank">Yahoo!</a>