Web HTML-HTML.com

HTML Codes

HTML Codes > Anchors and Links > <A ...>
previous page <A NAME="..."> TARGET="_blank" next page

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.

previous page <A NAME="..."> TARGET="_blank" next page



Recommended: Link Popularity Software : WebPosition Gold : Google Cash : Arelis : Optilink : Search Engine Optimization Software : Search Engine Submission Software : Mike's Marketing Tools : Mike's Ecommerce Software : Search Engine Rankings : Link Popularity Checker : Cheap Domain Registration : Keywords