Add a target
attribute with the value _blank
to the anchor (a
) element’s opening tag, so that the link opens in a new tab.
Are you struggling with this challenge? Can you show us your code and explain what your issue is please?
To post code on the forum, click on the </>
icon and paste your code where indicated.
THANKS I NEED HELP TO THIS Turn the image into a link by surrounding it with necessary element tags. Use https://freecatphotoapp.com
as the anchor’s href
attribute value.
Please 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!
Turn the image into a link by surrounding it with necessary element tags. Use https://freecatphotoapp.com
as the anchor’s href
attribute value.
Please 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!
Hi @checbau ,
You can turn an Image into a Link as follows.
Example,
<a href="http://mystupidaddress.com"><img src="some_source"></a>
Since <img>
element is surrounded by <a>...</a>
tags, the <img>
becomes a Link!