Posted by Kim Andrι Akerψ on 04/27/07 12:48
Samuel van Laere wrote:
> Perhaps a stupid question:
> what for are <span> tags ment for?
> and do they have any semantic meaning?
<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ΓΈ
- kimandre@NOSPAMbetadome.com
(remove NOSPAM to contact me directly)
Navigation:
[Reply to this message]
|