About target in tag <a herf=" " target=" "> </a>


#1

About target in tag <a herf=" " target=" ">
I want to know what is the purpose of target here in this tag I am beginner and I am seeing it for first time. So kindly guide me fundamentally. Thanks!


#2

if we look in the documentation:

https://developer.mozilla.org/nl/docs/Web/HTML/Element/a#attr-target

we see this attribute explained. It determines if the link opens in the current window, or a new tab (among other things)