-1
I want to do something kind of like this:
<p style="color:red;">Esse texto é vermelho e <style="color:blue;">esse texto é azul</style> mas esse outro continua vermelho</p>
I think you have understood. I want to take an excerpt of the text and change only the color of a few words, but the rest remains the same.
The tag
mark
is not used to change the color of a text. The function of the tag is to highlight a text snippet as if it were a text marker.– Sam
Yes, it serves as a text tag. So I edited and quoted the span tag tbm and put the background: None some previous versions of Chrome/Firefox had no default background and was left with nothing. but I edited and tagged span
– Giovanni Dias
It is because it is an HTML5 tag that does not work in some older versions of browsers.
– Sam
@sam, with the tag
<tiosam></tiosam>
works, see my answer– user60252
@Leocaracciolo
<vovô></vovô>
tb works in browsers of the 90s.– Sam
@sam edited the answer
– user60252