Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Attribute for <A ...>
TARGET = "_blank" | "_parent" | "_self" | "_top" | window name

TARGET controls where the new document will be displayed when the user follows a link. Most of the time, clicking on a link simply loads a new document in the same window where the link was. However, with TARGET, you can have the new document open in a new window, or if you are using frames, in another frame.

You can target a frame by a name you have assigned it. (See our frames page for how to use and name frames.) TARGET also has four predefined values, which can be used as if certain windows and frames already have names without you having to assign them:

  • "_blank"
  • "_parent"
  • "_self"
  • "_top"

Note that each of predefined names starts with an underscore ("_"). They also must be in all lower-case letters.

You can also use TARGET with MSIE's <IFRAME ...> and the NAME attribute.

 
 
  Copyright 1997-2002 Idocs inc. Published under the terms of the Open Content License Design by Interspire