Excellent software and practical tutorials
Single link opens in a new window
We know that setting the connectionNew WindowThe way to open it isThe link adds the target attribute set to "_blank".
All links open in new window
example
boxpu.com The link will load in a new window because the target attribute is set to "_blank". boxpu.com - Note that this link will also open in a new window even if it does not have the target="_blank" attribute. This is because we have set the target attribute value to "_blank" in the base tag.
Example explanation
There are two points to note in the above code
1. Just in the page code header (
tag) is set,2. Note that in the second a tagboxpu.com
The link has no target attribute, but it also opens in a new window, which is exactly what the first point does.
value | example | describe |
---|---|---|
_blank | Opens the linked document in a new window. | |
_self | Default. Opens the linked document in the same frame. | |
_parent | Opens the linked document in the parent frameset. | |
_top | Opens the linked document in the full window. | |
framename | Opens the linked document in the specified frame. |