I am a newbie, am confused as to the position to add attribute _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= "https://freecatphotoapp.com" >cat photos</a>.</p>
    <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" 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/101.0.4951.67 Safari/537.36

Challenge: Step 13

Link to the challenge:

_blank is not an attribute, its a value of the attribute “target”.
You add the target attribute with the value _blank to the anchor ( a ) element’s opening tag. This makes the link(the anchor link) open in a new tab.

Note: Describing your issue in the **Tell us what’s happening:**section helps to understand your problem better.

1 Like

can you show me an example please, as you might expect am new to the whole thing, its difficult to wrap my head around it with your explanation.

What he means is things like < body> and < p> are elements. Within elements you can specify attributes which are assigned values. An example of this would be:

<p>I am a standard paragraph</p>

<p class="paragraph">I am a paragraph with the class attribute and the value of "paragraph"</p>

Hopefully this example provides you with enough information to complete this challenge. Let us know if you need further assistance.

1 Like

thank you for your assistance

You are very welcome!

1 Like

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