HTML Hyperlink
The basically tag which is associated to create this hyperlink is called the anchor tag and is returned as a .
this hyperlink is basically containing the location or the URL of the target location thatr target location may be some in some other web page or maybe in your own web pages so depending upon the location you will just pass the reference of that particular location in your anchor tag and as soon as click over that link you will be in your destination.
Any text or image can be set as a hyperlink.
HTML Links-Target Attribute
We need to convert a text to hyperlink or any section of our web pages to hyperlink we are going to use the anchor tag or simply a tag anchor tag has an attribute called as hyperlink reference .
The page are open in the same window or in the another window we are going to use an attribute called as target attribute.
Target attribute takes mainly two values :
one is _self
and another is _blank to the target
Target _self
Means the page the second page .html is going to open in the self window that is the same same window.
self by default target is set to self.
Target _blank
means the page are open in the new window or tab.
HTML Links -Use as image as a link
to use an image as a link just put the tag.
HTML Links-Link to an email address
use mailto: inside the href attribute to create a link.