I have an ul like below which has anchor tags.
<ul class="nav-link-bottom">
<li><a class="active" href="login.html">Existing user</a></li>
<li><a href="signup.html" style = "background-color:#000">new user</a></li>
</ul>
I want to place an image on the second anchor tag. Not sure how I can do that.
Here's the fiddle. And the image I want to put on the left anchor same position as the caret you see.
Don't really understand you question but if you want the img to serve as link, you could do
<a href="page.html"><img src="img.png"></a>
And then give the anchor tag what ever height or width
<li><a href=""><img src="" alt=""></a></li>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With