Learn HTML by Building a Cat Photo App - Step 15

Tell us what’s happening:
Turn the image into a link by surrounding it with necessary element tags

CatPhotoApp

Cat Photos

See more cat photos in our gallery.

A cute orange cat lying on its back.

To convert a img element into a link you just need to wrap it within anchor tag.

<a href="link">
<img src="link">
</a>

This how you can do .
Hope you understand.

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