1. Computing & Technology

Discuss in my forum

XHTML Attributes - target

By , About.com Guide

target:

The target attribute defines the frame where the linked document should open.

Used with Elements:

Content:

The name of the frame to open in. There are also a few named frame states:
  • _blank: open in a new browser window
  • _self: (default) open in the same frame that the current document is in
  • _parent: open in the frame one level higher than the current one
  • _top: remove all frames and open in the top level window of the browser

Default:

none

Deprecated in XHTML 1.0:

No

DTD:

XHTML 1.0 Loose

©2012 About.com. All rights reserved.

A part of The New York Times Company.