From http://www.w3schools.com (Copyright Refsnes Data)
ExampleA text with a span element that can be styled with CSS:
|
The <span> tag provides no visual change by itself.
The <span> tag provides a way to add a hook to a part of a text or a part of a document.
When the text is hooked in a span element you can add styles to the content, or manipulate the content with for example JavaScript.
The <span> tag is supported in all major browsers.
NONE
id, class, title, style, dir, lang, xml:lang |
For a full description, go to Standard Attributes.
onclick, ondblclick, onmousedown, onmouseup, onmouseover, onmousemove, onmouseout, onkeypress, onkeydown, onkeyup |
For a full description, go to Event Attributes.
From http://www.w3schools.com (Copyright Refsnes Data)