span is very similar to the div tag, but div is a block-level tag and span is an inline tag. Span tag is a paired tag means it has both open() tag and it is mandatory to close the tag. The span tag is used to grouping of inline-elements. The span tag does not make any visual change by itself.
This post was originally published on this siteColor Names Supported by All Browsers. All modern browsers support the following 140 color names (click on a color name, or a hex value, to view the color as the background-color along with different text colors): For a full overview of CSS colors, visit our colors tutorial.