Easy Tutorial
❮ Event Onseeked Met Node Normalize ❯

Base target Attribute


Definition and Usage

The target attribute can set or return the value of the target attribute in the base element.

The target attribute specifies where to open all links on the page.

Syntax

The target attribute can be one of the following values:

Value Description
_blank Opens the link in a new window
_self Opens the link in the same frame (default)
_parent Opens the link in the parent frame
_top Opens the link in the full body of the window
framename Opens the link in a specified frame

Browser Support

All major browsers support the target attribute.


Example

Return the target attribute of the base link for all links on the page:

The output of the above example:

❮ Event Onseeked Met Node Normalize ❯