Span HTML – How to Use the Span Tag with CSS –

This post was originally published on this site

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:

Stay up to date
Register now to get updates on promotions and coupons.

Shopping cart