Auto AdSense

Saturday, 30 January 2016

Open link in a new browser window - HTML Programs

<html>
<body>

<a href="http://www.google.com" target="_blank">Visit Google.com!</a> 

<p>If you set the target attribute to "_blank", the link will open in a new browser window/tab.</p>

</body>
</html>

Output

Visit Google.com!
If you set the target attribute to "_blank", the link will open in a new browser window/tab.

No comments:

Post a Comment