Tryit Editor v1.4

<html> <head> <base /> <base target="_blank" /> </head> <body> <img src="../images/stickman.gif" width="24" height="39" /> - Notice that we have only specified a relative address for the image. Since we have specified a base URL in the head section, the browser will look for the image at "http://www.w3schools.com/images/stickman.gif" <br /><br /> <a href="../default.htm">W3Schools</a> - Notice that the link opens in a new window, even if it has no target="_blank" attribute. This is because the target attribute of the base element is set to "_blank". </p> </body> </html> | Your Result:
Edit the code above and click to see the result. | W3Schools.com - Try it yourself