What is the best way to write a code with a phrase that contains several font formatting.
EX:
This phrase (bold and blue color) that I'm writing as an example (italic not bold and red) contains in parentheses the formatting of each word, however as it would be a good code written using html and css. (the rest of the text I want font 50 and white color)
Detail I know that if I stay tag-by-tag it would work, however in html this text would not be on the same line as if it were part of a single paragraph. Related to good practices how could I write a code for this example?
Can I use the span tag for this?