what is a HyperLink?

what is a HyperLink?

It is an association from one net resource to a different one. A link has 2 ends, Associate in Nursing anchor and direction. The link starts at the “source” anchor and points to the “destination” anchor, which can be any net resource like a picture, a video clip, a line, a program, Associate in Nursing markup language document, or a part at intervals Associate in Nursing markup language document.

HTML Link Syntax

HTML using the “a” tag.

The target Attribute in HyperLink

Option Description
_blank This link opens a new tab.
blank This link opens a new tab and refreshes the old page.
_self This link opens in the same frame.
_parent This link opens in the parent frame.
_top This link opens in the full body of the window.


<a href="https://www.myprograming.com/" target="_blank">open in new tab</a>
<a href="https://www.myprograming.com/" target="blank">open in new tab & refresh old page</a>
<a href="https://www.myprograming.com/" target="_self">open in self</a>
<a href="https://www.myprograming.com/" target="_parent">open in parent</a>
<a href="https://www.myprograming.com/" target="_top">open in body</a>
open in new tab open in new tab & refresh old page open in self open in parent open in body

Create Download Link in HTML

create an image download link here

<a href="03.jpg" download ><img src="03.jpg" alt="thumbnail"></a>

create document file download

example : .txt , .html , .php , .psd ect….

<a href="https://www.myprograming.com/wp-content/uploads/2021/05/test.txt" download >Text Download </a>
Text Download


this is a download link only for your online work or only your localhost server working this download link.

Leave a Comment

Your email address will not be published. Required fields are marked *