View Full Version : Span What does it mean, and for what is it used?

11-21-2011, 08:57 PM
Well, when reading through codes, I see sometimes the "span" tag. I don't really understand what it means and for what it is used. Could someone explain this to me, and maybe show an example?

Many thanks.

11-21-2011, 09:02 PM

11-21-2011, 09:03 PM
A span tag is the one tag that has no m eaning or default styling of its own. It is used to provide a way to attach an id or class to whatever it contains.

11-21-2011, 09:59 PM
Hmm okay, I see. I guess I understand it a bit now:p. I now also realise something when it could be used.

Many thanks.