InterviewSolution
Saved Bookmarks
| 1. |
How we create a link between the two webpages |
|
Answer» To link two Web pages, you first need name to the section by using name attribute of tag that you want to link. Suppose, we need to link a section of HTML1.html to HTML2.html. Create a named anchor in HTML1.html.The syntax is given below: Different Page After this, you have to write the code to refer to it, from Web page HTML2.html. Following is the code to do so:Here, HTMLl.html is the name of html file to the section of which you want to link and # link is the segment name you want to link in that html file. By using href attribute By using this coding : |
|