link a logo via div
CSS-Tricks mentioned that to hyperlink your logo you can surround a div with the <a> tags.
<a href="http://example.com"> <div> anything </div> </a>
How would it work in this case?
<div class="col-sm-12 col-lg-12 clearfix">
<a target="_blank" href="#"><div class="logo"><img src="images/logo.png" class="img-responsive" alt="Logo"></div></a>
</div>
I tried this but it did not seem to work. I tried it on a local server for testing. Can you advise if something is incorrect here?
Thank you!
