This question might be silly to you but It's the reason why I asked is because I always see the source code of some big commercial website having this tag for example and I'm wondering why:
<a href="https://www.mywebsite.com" title="" target="_blank"><i class="myclass" id="myId"></i></a>
and it displays images or icons I guess. So I'm curious and I want to know how to insert an image on html i tag with css.
itag is nothing different than any other tag.display: inline-blockfor example or width and height won't have any effect. Or have enough content in it but that's not how this sort of element is (ab)used when it isn't used for displaying a text as italic