Baseline Widely available
The target
property of the HTMLBaseElement
interface is a string that represents the default target tab to show the resulting output for hyperlinks and form elements.
It reflects the target
attribute of the <base>
element.
A string representing the target. Its value can be:
<frame>
._blank
, _self
, _parent
, or _top
.<head>
<base target="_top" />
</head>
const baseElement = document.getElementsByTagName("base")[0];
console.log(baseElement.target); // Output: '_top'
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