This may sound stupid but I am having troubles adding a link to the following code:
<span class="image fit"><img src="images/pic.png" alt="pic" /></span>
How could I add a link to this?
This may sound stupid but I am having troubles adding a link to the following code:
<span class="image fit"><img src="images/pic.png" alt="pic" /></span>
How could I add a link to this?
Adding a link in html be like :
<a href="where you go when you click">the text or img </a>
Do it like this:
<span class="image fit"><a href="http://www.mylink.com/"><img src="images/pic.png" alt="pic" /></a></span>
Try following snippet.
<!-- going to google, after clicking -->
<a href="https://www.google.com">
<span class="image fit"><img src="images/pic.png" alt="pic" /></span>
</a>