I used the prescribed method from bootstrap docs
<div class="container">
<a class="navbar-brand" href="#">
<img src="/img/hangers.jpg" alt="" width="30" height="24">
</a>
</div>
And Yes, I linked the path correctly. I checked like 50 times already.
Put a dot before the source of the image file. Results
I think. You are not able to pick up photo from your system as code works fine run snippet below:
<div class="container"> <a class="navbar-brand" href="#"> <img src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTW6509Xrnys2Pp_8RB3ffNOsqDrKlPtkvkRQ&usqp=CAU" alt="" width="30" height="24"> </a> </div>
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.