FAQ: Learn HTML - Common HTML Elements - Linking At Will

Lol thank you my man! This was confusing me so much - my brain was immediately looking at line 9! :sweat_smile:

1 Like

Seems like this exercise was validated without using the target attribute/value. You might want to check on this.

When I use:

I’m getting the same result. The link opens in new window. I’d like to know which option is more advisable to be used, and why.


Thank you sooo much. Now I get exactly what I was doing wrong.

I keep a Google Doc with all the definitions and various pieces of code

Is it potentially because we’ve added alt to describe the image?

Might be low on coffee, might be another issue entirely. However; I tried resetting this one a few times, and it still says i screwed up something. The link works as intended though.

<a href="https://en.wikipedia.org/wiki/Brown_bear

" target="_blank">

  <img src="https://s3.amazonaws.com/codecademy-content/courses/web-101/web101-image_brownbear.jpg" />


Can anyone give me a helping hand here before it drives me nuts? Thanks in advance. :slight_smile:

What kind of error are you getting from this?

Thank you so much. I was confused out of my mind. Are you a beginner as well?

1 Like

Yes, I am :smiley: sometimes struggling but always diligent! Good luck :slight_smile: