Open link in new browser window

This example demonstrates:

Create a picture link and open it in a new window.

Example analysis:

If you set the target attribute to "_blank", the link will open in a new window .


Continuing Learning
||
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>php中文网(www.php.cn)</title> </head> <body> <a href="http://www.php.cn/" target="_blank">访问php中文网!</a> <p>如果你将 target 属性设置为 "_blank", 链接将在新窗口打开。</p> </body> </html>
submitReset Code