Back
In able to do that, you can use the window.open() function:
<a onclick="window.open(document.URL, '_blank', 'location=yes,height=600,width=550,scrollbars=yes,status=yes');"> Intellipaat Page</a>
<a onclick="window.open(document.URL, '_blank', 'location=yes,height=600,width=550,scrollbars=yes,status=yes');">
Intellipaat Page
</a>
This will help you with a page called the Intellipaat page which will open in a new window.
I hope this will help.
Want to know more about Java? Prefer this tutorial on Learn Java.
Want to become a Java Expert? Join Java Certification now!!
31k questions
32.8k answers
501 comments
693 users