Learn HTML by Building a Cat Photo App - Step 14

Tell us what’s happening:

Describe your issue in detail here.

what is a target attribute

You appear to have created this post without editing the template. Please edit your post to Tell us what’s happening in your own words.
Learning to describe problems is hard, but it is an important part of learning how to code.
Also, the more you say, the more we can help!

target=”_blank” is a special keyword that will open links in a new tab every time .

1 Like

Welcome back to the forum @elbuhomike!

Thank you for posting your question. Please, in the future, post your code along with it using the Help that appears after three unsuccessful attempts at any step in Responsive Web Design?

The target attribute is not any different than any other attribute, but it acts differently in the way it targets the value, in this case “_blank” which will make the link open in a new tab.

To enter the target attribute into the anchor, if you view the href attribute and its value of “url”, you will see that it can be entered in the same way. I suggest entering it after the < a and before the href attribute.

Happy coding!

2 Likes

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