You have to use the anchor tag <a>
for links in HTML.
Since you want an image to act like a link, enclose the <img>
tag in the <a>
tag like so.
<div class="social-media">
<ul>
<li><a href="https://facebook.com"><img src="images/facebook.png"></a></li>
.....
</ul>
</div>
</div>
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…