..
Write the same code in a note pad or other text editor and save it with html extention. Open the saved file on your google crome or Mozila browser to see the output.
- <html>
- <head>
- <title>Gyan Tutorial Example</title>
- </head>
- <body>
- This link will take you to other document</br>
<p><a href="https://website.gyaann.com/">Visit our Gyan HTML tutorial</a></p>
- <p>If you set the target attribute to "_blank", the link will open in a new browser window or tab.</p>
- <a href="https://website.gyaann.com/" target="_blank">Visit our Gyan HTML tutorial!</a>
- </br>
Tip: If your webpage is locked in a frame, you can use target="_top" to break out of the frame or section:
- <a href="https://website.gyaann.com/" target="_top"></br>Gyan HTML5 tutorial!</a>
- </br>It is common to use images as links:
- </br>
<a href="https://website.gyaann.com/"><img src="url" style="width:42px;height:42px;border:0;"></a>
- </body>
- </html>