Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Perhaps a stupid question:
what for are <span> tags ment for?
and do they have any semantic meaning?


Re: span?

Samuel van Laere wrote:

Quoted text here. Click to load it

<span> is typically used for seperating an inline section (containing
text or images) from the rest of the paragraph, such as applying a
different type of style (or CSS class) to that section and/or setting
an ID to it (for purposes of styles or client-side scripting).

Please note that <span> only can contain other inline elements (and not
block-level elements, such as <p> or <div>).

Kim André Akerø
(remove NOSPAM to contact me directly)

Site Timeline