change color in span tag html 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: javascript span style
//an example of an "out of context" way to change color of a text:
<span style="color: green"></span>