Results 1 to 3 of 3
02-01-2009, 07:30 AM #1
What is the <span>-tag for? Is it the same as the <div>-tag?
02-01-2009, 09:30 AM #2
span tag is different from div tag.
The former is an inline-level element and the later is a block-level.
span tag is most used to hook a text in the document. When your element is inside the span tag, you have the ability to style them differently from the rest of the text.
For further reading:
Hope that helps.
11-05-2009, 12:19 PM #3
exactly! a span is usually used inside another element to customize text in a different way!