How to open a HTML a link in a new tab?

HTML

I coded this link and I want to open it in a new window or tab if the user click the link. Is this possible in HTML without using JavaScript?

<a href="https://www.google.com" title="Google search">Search</a>
Web pages Software Question created: 2020-05-05 06:13 superMarki

2

Simply add a new attribute called target="_blank" to your a HTML element. This will open the link in a new window or in a new tab if the browser supports tabs. 

<a target="_blank" href="https://www.google.com" title="Google search">Search</a>
answered 2020-05-05 06:15 ValdiBoom