1
What is the best way to write a phrase code that contains several font formats.
EX:
This phrase (bold and blue color) that I am writing of example (Italian not bold and red color) 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 keep opening tag by tag would work, however in html this text would not be in the same line as if it were part of a paragraph only. Related to good practices how you could write code for this example?
I can use the span tag for this?
What did you mean by "that text would not be on the same line in HTML"?
– Woss
When I open a <p> it creates another paragraph and goes to the bottom line
– Julio Henrique
Ah, that’s right. But if you use elements that have the
display: inline
that will not happen, such as thespan
, who quoted.– Woss