You might have seen in a lot of websites like Wikipedia that there are a lot of links pointing to various portions of the same page.
This can be done easily in HTML by use of two simple tags.
First create the link using the following tag:
Then place the following tag just before the place, where you want to navigate:
(Don’t forget to close tags appropriately)
The above link will appear like this:
Go here
When clicked it will search for the tag with the name “link” and will go there( it will not work here though).
You can use any name value in the place of the link tag as used here and the corresponding name should be used in the href tag as well.
Note that in the first href tag there is a # symbol which is not present in the second name tag.
This can be done easily in HTML by use of two simple tags.
First create the link using the following tag:
Then place the following tag just before the place, where you want to navigate:
(Don’t forget to close tags appropriately)
The above link will appear like this:
Go here
When clicked it will search for the tag with the name “link” and will go there( it will not work here though).
You can use any name value in the place of the link tag as used here and the corresponding name should be used in the href tag as well.
Note that in the first href tag there is a # symbol which is not present in the second name tag.