Edit This Code:
See Result »
<!DOCTYPE html> <html> <title>Page Title</title> <base target="_blank"> <body> <img src="../images/html5.gif"> <p> Since we have specified a base URL, the browser will look for the image "html5.gif" at "http://www.w3schools.com/images/html5.gif" </p> <p><a href="../index.html">W3Schools</a> </p> <p> The link above opens in a new window. This is because the base target is set to "_blank". </p> </body> <!-- Mirrored from www.w3schools.com/html/tryit.asp?filename=tryhtml_head_base by HTTrack Website Copier/3.x [XR&CO'2014], Sun, 13 Mar 2016 11:02:55 GMT --> </html>
Result: