0
HTML
I am 100% sure there was a label in html for adding links which opened the link in a new tab and not the same tab. Anyone knows anything about it?
3 Answers
+ 5
Yes, the attribute is target="_blank". For example:
<a href="example.com" target="_blank">Open Link</a>
It opens the link in href in a new tab.
+ 5
You're right Jianmin Chen, but be careful with this: "target" is an attribute, "a" is a tag. Don't confuse them, it will help you to better understand the HTML, and for others to understand what you are talking about.
+ 1
Ah, Morty đŠđ·, yes, I'll change my post to make it correct.