HTML and CSS Page 10/15


#1

Hi,I'm not able to figure out how to code for this. Could someone please help? Thank You!

In index.html, transform the image on your page into a link by wrapping the image element with an anchor element. Set the target attribute so that the link opens in a new window.

Use the same URL as before:


#2

Can you tell us more about it?
Paste the link of the page you are stuck and the code you got so far.


#3

In the second image you are supposed to put the <a href=""... first then add the "target" attribute in it like the first image you worked on.


#4

I am just adding on that the code you should insert is:

<a
href="https://en.wikipedia.org/wiki/Brown_bear"target="_blank"><img
src="https://s3.amazonaws.com/codecademy-content/courses/web-101/web101-img_brownbear.jpg"alt="Brown Bear"/>