I am attempting to show a smiley icon within a span
tag that is nested inside a list item. Below is the code snippet:
<p>
It contains various tabs:{" "}
<li>
Home - Showcase and brief information about what this website aims to be{" "}
<span
style={{
padding: "25px",
display: "inline-block",
background: 'url("smile.png")',
height: "17px",
width: "50px"
}}
>
{"ss"}
</span>
</li>
</p>
This is the output I am seeing
https://i.sstatic.net/SH6Vo.png
and here is the actual smile.png
image