Skip to content
PHP Ecosystem
Explore

Target

API reference › HTML Attribute › Values › Target

enumUIAwesome\Html\Attribute\Values\Target
Backed bystring
Sourcesrc/Values/Target.php

Represents values for the HTML target attribute.

See also: https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/a#target.

CaseValueDescription
BLANK'_blank'_blank — Load the resource into a new, unnamed browsing context (typically a new tab or window).
PARENT'_parent'_parent — Load the resource into the parent browsing context of the current document.
SELF'_self'_self — Load the resource into the same browsing context as the current document.
TOP'_top'_top — Load the resource into the top-level browsing context (the full, original window).