HTML <a> target Attribute
HTML <a> tag
Example
The target attribute specifies where to open the linked document:
| <a href="http://www.w3schools.com" target="_blank">Visit W3Schools</a> |
Try it yourself » |
Definition and Usage
The target attribute specifies where to open the linked document.
Browser Support

The target attribute is supported in all major browsers.
Syntax
Attribute Values
| Value |
Description |
| _blank |
Open the linked document in a new window |
| _self |
Open the linked document in the same frame as it was clicked
(this is default) |
| _parent |
Open the linked document in the parent frameset |
| _top |
Open the linked document in the full body of the window |
| framename |
Open the linked document in a named frame |
HTML <a> tag

Whether you're new to XML or already an advanced user,
the user-friendly views and powerful entry helpers,
wizards, and debuggers in XMLSpy are designed to meet your XML
and Web development needs from start to finish.
- XML editor
- Graphical XML Schema / DTD editors
- XSLT 1.0/2.0 editor, debugger, profiler
- XQuery editor, debugger, profiler
- XBRL validator & taxonomy editor
- Support for Office Open XML (OOXML)
- Graphical WSDL editor & SOAP debugger
- Java, C#, C++ code generation
- And much more!
Download a free trial today!
|
|
|
|