A RetroSearch Logo

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

Search Query:

Showing content from http://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement/target below:

HTMLAnchorElement: target property - Web APIs

HTMLAnchorElement: target property

Baseline Widely available

The target property of the HTMLAnchorElement interface is a string that indicates where to display the linked resource.

It reflects the target attribute of the <a> element.

Value

A string representing the target. Its value can be:

Example
<a href="www.example1.com" class="link1" target="_blank">example1</a>
const link = document.querySelector(".link1");
console.log(link.target); // output: "_blank"
Specifications Browser compatibility See also

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