Categories

link target

Hanna Smith August 25, 2015
No votes yet.
Please wait...

A link target attribute use as a layout mechanism is no longer common. But if you do want to maintain a frameset-based web site, you may need to open links in frames or windows other than the one in which the source of the link resides.

The ‘target’ controls where the new page will be displayed when the user follows a link. Clicking on a link mostly loads a new page in the same window where the link was. You need to add a target if you want the link to open in another window or frame than the link itself is placed in.

A link target has four predefined values:

  1. “_blank” loads the page into a new browser window.

    For example, this link target will open the Google in a new window: Google.

    <a href="http://www.google.com" target="_blank">Google</a>
  2. “_self” loads the page into the current window.

  3. “_parent” loads the page into the frame that is parent to the frame the hyperlink is in.

  4. “_top” loads in the full body of the window.

Bookmark the permalink.

Submit a ticket

If you are still unable to find a sufficient tutorial regarding your issue please use the following link to submit a request to our technical support team. We'll provide you with our help and assistance within next 24 hours: Submit a ticket

Comments are closed.