This code is part of other big code that generate a web map with folium module:
legend_html = '''
<div style="position: fixed;
bottom: 40px; left: 50px; width: 100px; height: 110px;
border:2px solid grey; z-index:9999; font-size:14px;
background-color: white;
"> Legend <br>
aaa <i class="fa fa-map-marker" style="color:blue"></i><br>
bbb <i class="fa fa-truck" style="color:pink"></i><br>
ccc <i class="fa fa-map-marker" style="color:green"></i><br>
shapefile <img src= r"D:\GIS\sdr\abc.png" width="10" height="10">
</div>
'''
in the line of the shapefile, I try to described the shapefile polygon in the legend with a png file from this location: D:\GIS\sdr\abc.png
When i run the code- the web map generated, but in the legend i can't see the png symbol