1. Home
  2. Computer Science MCQs
  3. HTML
  4. Why is rel="noopener" added to links that use…

Added 2 Nov 2026

Why is rel="noopener" added to links that use target="_blank"?

  1. To block access to window.opener Correct answer
  2. To prevent search engines following it
  3. To speed up loading of the linked page
  4. To make the link open in the same tab

Correct answer

A. To block access to window.opener

18 views

MCQSEXAM

Explanation

Without it, the opened page could use window.opener to redirect your original tab to a phishing site (tabnabbing). Modern browsers now apply noopener to _blank by default.

Reference

Asked in: NTS, Web Developer Interviews

Preparing for an exam?

Doubts & discussion

Not sure why the answer is A? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More HTML MCQs

Practise all HTML MCQs

Similar MCQs