A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://webplatform.github.io/docs/html/attributes/target below:

target · WebPlatform Docs

target Summary

Target is a link attribute, which defines where to open the link.

Applies to [/html/elements/a](/html/elements/a)

**Target** is a link attribute that defines in what window a link will open.

Examples

A target value of “_blank” will cause the page to open in a new window.



<a href="#" target="_blank">Link Text</a>

A target value of “_self” will cause the page to open in the same window or frame.



<a href="#" target="_self">Link Text</a>

A target value of “_parent” will cause the page to open in parent frame of the element.



<a href="#" target="_parent">Link Text</a>

A target value of “_top” will cause the page to open in the top-most frame.



<a href="#" target="_top">Link Text</a>
Notes Remarks

The window name is an optional argument in the open scripting method. If there is no existing window or frame with the same name as specified in the target, a new window is opened with a name equal to the value of the target.

Syntax See also Related pages Attributions

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4