0

I don't know how I can make, in html, a specific letter in a word in another color without having a space before the letter. Need help :(

<p> <span style="color: red">exam</span> <span style="color: blue">ple</span> </p>

Bryan Elliott
  • 3,785
  • 2
  • 17
  • 19

1 Answers1

1

Just simply remove the line break between the two spans.

Like this:

<p>
    <span style="color: red">exam</span><span style="color: blue">ple</span>
</p>
Bryan Elliott
  • 3,785
  • 2
  • 17
  • 19