How to add a target _blank

Tell us what’s happening:
Describe your issue in detail here.

  **Your code so far**

    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    <p>Click here to view more  <a href="" _blank>cat photos</a>.</p>
    <img src="" alt="A cute orange cat lying on its back.">
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36

Challenge: Step 13

Link to the challenge:

hello and welcome to fcc forum :slight_smile:

did you try a simple googling about this with your question statement? i bet you would find plenty of information about this and many more related stuff!! give it a try :slight_smile:

The same way you have added the href attribute to the anchor tag, You can add the target attribute. You need to give the target attribute a value. In this challenge that value is _blank. Yes it should be preceded with _ . Let me know if it helps.

1 Like

If you want to write code, Write the code in between `` or select the </> and write the code. The browser renders the code you have written. So, it will be hidden.

thanks! that
helped alot

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.