Use the target attribute to open a new tab
We can use <a> to open a new tab by setting the
[target = "_blank"] attribute.
<a href="https://stackhowto.com" target="_blank">StackHowTo</a>
This will open the link in a new tab.
This will open the URL in a new tab.
MCQPractice competitive and technical Multiple Choice Questions and Answers (MCQs) with simple and logical explanations to prepare for tests and interviews.Read More