How do I add a target "_blank" to the (a) anchor to make the link open in a new tab

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="">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; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.75 Safari/537.36

Challenge: Step 13

Link to the challenge:


This is an href attribute you’ve written

This is a src attribute

This is a alt attribute

You add the target attribute the same way you added these three attributes. attribute="value"

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