Multiple choice technology web technology

How can you open a link in a new browser window?

  1. <a href="url" target="new">

  2. <a href="url" new>

  3. <a href="url" target="_blank">

  4. <a href="url" target="_newB">

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The target attribute in an anchor tag specifies where to open the linked document. Using target="_blank" opens the URL in a new tab or window, which is the standard HTML approach. Option A uses 'new' which is not a valid value, option B is missing the target attribute entirely, and option D uses '_newB' which is also invalid.