HTML & CSS · Junior · Question 9 of 75
Why add rel="noopener noreferrer" to a link with target="_blank"?
- 1So the browser preloads the page and opens the new tab faster
- ✓Correct answer: So the opened tab doesn't get
window.openerand the source page's address - 3So search crawlers don't follow the link or pass ranking to it
Explanation
Without noopener, the new tab can use window.opener to replace the original page (reverse tabnabbing). noreferrer additionally omits the Referer header. Modern browsers already apply noopener to _blank by default, but the attribute is still written explicitly. Indexing is affected by nofollow, not these values.