Target browsing context

Description

The target attribute from a element lets you tell the browser where you want the linked resource to be displayed.

By default, the browser uses the window, tab, or frame in which the current document is displayed to show the linked document and replace the existing one.

The following list describes the supported values for the target attribute.

  • _blank - Open the document in a new window (or tab).
  • _parent - Open the document in the parent frameset.
  • _self - Open the document in the current window (this is the default behavior).
  • _top - Open the document in the full body of the window.
  • <frame> - Open the document in the specified frame.

Each of these values represents a browsing context.





















Home »
  HTML CSS »
    HTML »




HTML Introduction
HTML Document
HTML Section
HTML Group Content
HTML Text Marker
HTML Table
HTML Form
HTML Embed