|
Creating inbound links
Go to the <a href=“menu.htm’>menu</a> of this site
The above given example shows an internal link in your html document. The word ‘menu’ is hyperlinked and directs you towards another page that has the menu of the site.
Internal links are links which direct you towards another page within the same website. However, if we want this window to open in a specific window such as the main window then the code would be:
Go to the <a href=“menu.htm” target=“main”>menu</a> of this site
It is simple, if you want the window to open a certain window in a specific window you simply have to add a constraint to the <a href> tag. In this example, the constraint was ‘target=“main” ’ which restricted the window to open in a specific window.
Below given are some important target names which never change:
Names
|
Functions
|
_blank
|
Opens the page in a new browser window
|
_parent
|
Opens the page into a frame which is superior to the hyperlinked frame
|
_self
|
Opens the page in the current window
|
_top
|
Cancels all the frames and opens the link in a full browser window
|
|