HTML base target property
Examples
The default target for all links specified on the page:
<head>
<base target="_blank">
</head>
<base target="_blank">
</head>
try it"
Browser Support
All major browsers support the target property.
Definition and Usage
Attribute specifies the target to open all links on the page where you are.
The property can be linked or form of the target property coverage.
Differences between HTML 4.01 and HTML5
HTML5 is no longer supported Frames and framesets. Therefore, iframes usually _parent, _top andframenamevalue.
grammar
<base target="_blank|_self|_parent|_top|framename">
Property Value
value | description |
---|---|
_blank | Opens the linked document in a new window. |
_self | default. Opens the linked document in the same frame. |
_parent | Centralized open the linked document in the parent frame. |
_top | Opens the linked document in the entire window. |
framename | Opens the linked document in a frame specified. |
HTML <base> tag