In the examples below, I change the color, background-color, and font-style of some text by wrapping it in a span tag. How to change the text color
This a crimson text within others.
.crimson-text { color: crimson; } I have added some basic CSS to center everything on the page: