Elements and structure 12/17

I need a better example to anchor links to images. It’s not clear to me and I’m unsure of what it is I need to do. Any help is appreciated.

Given an IMG tag,

<img src="#" alt="">

and the makeup of a link (Anchor tag)

<a href="#">link text or object</a>

we simply combine the two…

<a href="#"><img src="#" alt=""></a>

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