编辑你的代码:
<!DOCTYPE html> <html> <body> <a href="http://www.phpxuexi.net" target="_blank">Visit phpxuexi.net!</a> <p>If you set the target attribute to "_blank", the link will open in a new browser window/tab.</p> </body> </html>
查看结果:
phpxuexi.net
- 亲自试一试