Linking To a Place In Another HTML File
You not only can make a hypertext link with another HTML file, but also with a place in that HTML file, as long as you mark it with a NAME anchor. An HREF anchor that links to a place in another HTML file.
a href=”address#anchorname”> Anchortext
/a>This actually combines the forms for linking to another page and linking to a place on a page. First, the link is made to the address, which is either a URL or file name of an HTML file and then following the # sign, the link is made to the place in that file that is marked by the NAME anchor corresponding to the anohorname.
P> Go To
a href=”sub.html#parttwo”> Part Two
/a> of the
a href=”sun.html”> How to use links
/a> web page.Example:
Go To Part Two of the How to use links web page.
0 comments:
Post a Comment