<span> tag

Can someone explain to me how the tag works?? I don’t get it. I tried applying the span tag within a

tag, surround one word, but I see no difference on the browser. What’s supposed to happen?

now we could do:

<span style="color: red">

to make only that single word red, not the whole paragraph. Sometimes codecademy teaches concept which you need for later

1 Like

<p>i am <span style="color: blue;">blue</span></p>, now only a single word should be blue

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.