zeek6.html
<!-- In this page we have learn to use how to use anchor tags to link pages and also
new web pages and when we want link to open in new tab we use target="_blank" . -->
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Image and Links using anchor tags</title>
</head>
<body>
<h1>Opening Links through anchor tags and image through image tags </h1><br>
<a href="http://www.google.com"target="_blank">Go to google</a><br>
<a href="http://www.facebook.com"target="_blank">Go to facebook</a><br>
<a href="http://www.twitter.com"target="_blank">Go to twitter</a><br>
<a href="http://www.linkedin.com"target="_blank">Go to linkedin</a><br>
<a href="/Complete Web Development Part/harry5.html"target="_blank">Link the
webpage you made name is harry5</a>
<!-- If image is present in explorer it will show image -->
<img src="/Windows Photo Viewer Wallpaper.jpg" alt="Error in loading"><br>
<!-- If image is Absent in explorer it will show alt message -->
<img src="/aa.jpg" alt="Error in loading"><br>
<!-- We can also link Image through links -->
<img src="https://source.unsplash.com/user/erondu/1300x400"alt="Error in loading">
</body>
</html>
Comments
Post a Comment