over 4 years ago
The target attribute is used in hyperlinks. It specifies the destination of the hyperlink.
The target attribute is used to determine where to open/load the current link, whether on the same tab, next tab, new window or new frame.
If we do not specify the attribute in the anchor tag then it will automatically load the link in same window and tab.
Following are the attribute values:-
The _blank attribute opens the link in new tab or in new window.
The benefit of using ('target', '_blank') is that we can check the new link without leaving the current page.
There is back button in _blank attribute.
Here is the link to load link in new tab or window:-
The target="_self" attribute opens the link in the same tab or window. It is default value for this attribute.
The target="_parent" attribute opens the link in the parent or next level of frameset.
This attribute is not used in HTML5.
In this the currently displayed page is replaced by the new link page. But there is a back button available.
Starting with Chrome version 45, NPAPI is no longer supported for Google Chrome. For more information, see Chrome and NPAPI (blog.chromium.org).
Firefox and Microsoft Internet Explorer are recommended browsers for websites using java applets.
Chrome Version Support
Are you sure, you want to delete this comment?
Terms of Service
| © copyright 2021 FindNerd.com. All rights reserved.
Sign up using