Linking from one location to another location between page,image,text as well as sites are called hyperlink.
we can use hyperlink in two ways:-
This method links from one page with text,picture,video etc to others image,page ,video etc.
Generally hyperlinked text are seen blue with underline and while we mouse over on that area ,the cursor is changed.
There are Linker and Linking objects.
Linker is that where we click and linking object is that what we open.
a-stands for anchor.
href="source of the matter"
Before using hyperlink you need to understand these points:-
a. what are you going to link each others ?
b. Create the index page and child or collect the required matters(pictures,video,page) then keep in the one folder.
<a href=" ">Linker</a>
Linking to the websites using hyperlink:-
We can link to the websites using hyperlink for this the tag is given below:-
Using hyperlink, we can link to the email box:-
This method opens the mailbox sothat the user who visits our site can send us easily email .For open the email box we use the following :-
<a href= "mailto:[email protected]">
send me feedback
Image can be used as navigational tools. The clickable areas that are hyperlinks can be created on an image. An image map is an image composed of a number of hotspots. Client side and server side image maps can be created.
and also other tag <map>…</map> is also used to link to the image.
attribute of map:-name="Linker"
<area>….</area> tag is also used to define the hotspot area.
<area> tag uses the attributes:-
For Rectangle hotspot:-
coords="144,90,50,150" like four numbers.
href="source of link page"
For circle hotspot:-
<img src="picture1.jpg" usemap="#linker">
<area shape="circ" coords="175,98,28" href="page2.html">
Using this we can link within the page.
we use both href and name attributes.
The href attribute contain # sign with source.
The name attribute contain same linker used in the href.
They should be written in the different place where they should be linked.