Behrouz Riahi Behrouz Riahi - 2 years ago 196
HTML Question

How to make the logo in the navbar "clickable"?

This is how I show my logo in the navbar:

<img class="navbar-brand" href="/" src="logo.png" alt="HomePage">

The logo image appears as it is expected except that I can't click it.

What am I doing wrong here?

Answer Source

You should try something like

<a href="/"><img class="navbar-brand" src="logo.png" alt="HomePage"></a>
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download