Learn HTML by Building a Cat Photo App - Step 14

See more cat photosin our gallery.

i wrote this code trying to create target but it was display error please can any one help me with solution on how to create target.

Hello and welcome to the community!

Your code is not showing up. Please when asking for assistance in the future use the Help that appears after three unsuccessful attempts at any step.

To add a target attribute and its value “_blank” is the same as adding any other attribute and value.

If you look at the href attribute and its value you can see how to do it.


I suggest entering the target attribute and its value “_blank” behind the a anchor and before the href attribute. Make sure to leave a space before and after the code.

Happy coding!

1 Like

@anon42932716 answered well. Did it work?


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