Chapter 6 : CSS Spans

Posted by Muhammad Shiraz Kamboh Sunday, 27 May 2012 0 comments
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.
The purpose of the last 2 chapters was to provide you with a basis for using CSS in an (X)HTML file. For a more detailed explaination of XHTML please visit W3Schools

Popular Posts

About Me

My photo
I create this Blog for learn the all kind of tutorial about web developing | HTML, Java, PHP, Graphic designing, Corel Draw, Photoshop, Micromedia Flash, Swish and many more related software and internet programming tutorials.

Followers

Blog Archive