html when to use span code example
Example 1: html span
A <span> element used to color a part of a text:
<span style="font-size:30px">☰ </span>
<!-- ☰ is a color value -->
Example 2: how to write
<span></span>
A <span> element used to color a part of a text:
<span style="font-size:30px">☰ </span>
<!-- ☰ is a color value -->
<span></span>