<html>
<head>
<title>Kuldeep Ji</title>
<base href="www.google.com">
<base target="_blank">
</head>
<body>
<img src="143.gif" width="50" height="50"> - 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.google.com/images/stickman.gif"
<br><br>
<a href="http://www.google.com">google</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".
<br><img src="http://www.google.com/images/google-logo_9_253.jpg" width="650" height="250">
</body>
</html>
<head>
<title>Kuldeep Ji</title>
<base href="www.google.com">
<base target="_blank">
</head>
<body>
<img src="143.gif" width="50" height="50"> - 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.google.com/images/stickman.gif"
<br><br>
<a href="http://www.google.com">google</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".
<br><img src="http://www.google.com/images/google-logo_9_253.jpg" width="650" height="250">
</body>
</html>
No comments:
Post a Comment