CSS Span

What Does CSS Span ?

Spans are very similar to divisions (div) in CSS, 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,

Look at this Examples :

<span class="bold">Css Spans</span>

Then in my CSS file:

span .bold{
font-wight: bold;
}

The final result is: Css Spans.

The purpose of this article to provide you with a basis for using CSS in an (X)HTML file.

  • Welcome to CSS Syntax [dot] com
    Welcome to our Website ... CSS Syntax com is a website that explains about anything related to web...
    www.csssyntax.com
  • CSS 3 Background Color Opacity
    Everyone knows what RGB stands for (red, green, blue), but what does the A stand for?
    www.csssyntax.com
  • CSS 3 Text Shadow
    Using CSS3, we can create shadow effects on text with very simple syntax
    www.csssyntax.com
  • CSS 3 Box Shadow
    Excess CSS3 is able to make something that can not be done by CSS2
    www.csssyntax.com