spoloso spoloso - 1 year ago 58
CSS Question

Image not show in header when add in div

I have Below code in my header.html

<div class="col-md-3">
<div class="logo">
<a href="http://example.com/themes/default/images/logo.png"></a>

But it not show my png image in header, there is any wrong adding image path in div?

Answer Source
<img src="http://example.com/themes/default/images/logo.png">

That is how you use an image. You are placing a link to the image. Also, you are not seeing anything because your <a></a> tags are empty. If you write something between them, you can click on it, to see the image you linked.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download