4 ms·
Opening links in a new tab with the target="_blank" attribute in your <a> html tag? Keeps the user on the main site in a different tab, and when they close out
by 619deathstar 10y ago
Opening links in a new tab with the target="_blank" attribute in your <a> html tag? Keeps the user on the main site in a different tab, and when they close out the new tabs page, they are kicked back into the original site.
- mcbits 10y agoWarning: Always add rel="noopener noreferrer" if you use target="_blank". Otherwise the target site could redirect the main site to a phishing page or worse.