CSS Spans
9:54 PM Posted by BlogTechno
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:
.italic{
font-style: italic;
}
The final result is: This text is italic.
0 comments:
Post a Comment