CSS Spans

Spans are very similar to divisions except they are an inline element versus a block level element. No linebreak is created when a span is declared.

You can use the span tag to style certain areas of text, as shown in the following:

<span class=”italic”>This text is italic</span>

Then in my CSS file:

font-style: italic;

The final result is: This text is italic.