Definition and Usage The target attribute specifies where the URL (web resource) should be opened. Syntax <a target=" target ...
Definition and Usage
The target attribute specifies where the URL (web resource) should be opened.
Syntax
Syntax Example
Attribute Values
Value | Description |
_blank | The target URL will open in a new window. |
_self | The target URL will open in the same frame as it was clicked. |
_parent | The target URL will open in the parent frameset. |
_top | The target URL will open in the full body of the window. |
framename | The name of the target frame the URL should open in. |
Browser Support
The attribute is supported in all major browsers.