Thanks for the detailed explanation. Really appreciate it.
In order to open it in a new tab and avoid tabnabbing, I added target=”_blank” rel=”noopener noreferrer” behind the url. Hope this is fine.
<a target="_blank" rel="noopener noreferrer"><img src="https://www.tutorialspoint.com/assets/questions/media/426142-1668760872.png"></a>