Open a URL in a New Tab Using JavaScript
HTML have an attribute option to open URL in a new tab. The target attribute basically decide where to open linked anchor.In this tutorial, we will see how to open a URL in new tab using JavaScript. Window.open function is used to open linked document in new tab. In this function, second param is optional … Read more