Target Frame
Article ID: KB101386
A
link's target is typically specified when using
frames pages. The target tells the link which frame to affect: When the link
is clicked, the new page will load into the target frame.
The target can point to a specific frame, or it can be a special type of
target:
- Same Frame: _self (opens link in its own frame)
- Whole Page: _top (opens link in the same browser, overriding the frames
structure)
- New Window: _blank (opens link in a new window)
- Parent Frame: _parent (opens link in a "parent" frames page)
These four options are listed in the "Common targets" area of the Target
Frame page.

Behind the Scenes
Specifying a target adds the target attribute to the link code.
Here is an example of a normal hyperlink without a target specified:
<a href="page.htm">Hyperlink text</a>
After specifying a target to a frame that is named "main," the link looks
like this:
<a href="page.htm" target="main">Hyperlink text</a>
As another example, here is a link that uses the _blank target to open the
link in a new window:
<a href="page.htm" target="_blank">Hyperlink text</a>
Authors and Contributors:
Corrie Haffly
Was this helpful?
Please rate this article:
Email address: (not required)
(Please provide your email address if you would like PixelMill support to follow-up with you about your comment. Your email address is NOT REQUIRED to submit a comment.)
Comments: (How can we improve this article?)
Clicking "Submit" will not clear this page.
link to this page:
http://www.pixelmill.com/support/al0/kb101386.htm
permalink to this article:
http://www.pixelmill.com/support/kb101386.htm
Back to top