i have the following code in a footer of a web app. i would like to know how could i add an image instead of text. thanks
here is my code
`
<footer id="page-footer" class="bg-body-light border-top">
<div class="content py-0">
<div class="row font-size-sm">
<div class="col-sm-6 order-sm-2 mb-1 mb-sm-0 text-center text-sm-right">
Crafted with <i class="fa fa-heart text-danger"></i> by <a class="font-w600" href="javascript:void(0);" target="_blank">ORTHOLogika</a>
** <img src="../assets/media/photos/logo1.png" alt="Responsive image" >**
</div>
<div class="col-sm-6 order-sm-1 text-center text-sm-left">
<a class="font-w600" href="javascript:void(0);" target="_blank">ORTHOLogika 1.0</a> © <span data-toggle="year-copy"></span>
</div>
</div>
</div>
</footer>
`
enter image description here
i dont know how to import the image in the footer
2
Answers
The
<img>
tag is used to embed an image in an HTML page.Images are not technically inserted into a web page; images are linked to web pages. The tag creates a holding space for the referenced image.
The
<img>
tag has two required attributes:src
– Specifies the path to the imagealt
– Specifies an alternate text for the image, if the image for some reason cannot be displayedReference :
W3schools – HTML Tag
Path that you have given is must be wrong.
Here is for your reference