HTML DOM Span Object
Span Object
The Span object represents an HTML <span> element.
Access a Span Object
You can access a <span> element by using getElementById():
Create a Span Object
You can create a <span> element by using the document.createElement() method:
Standard Properties and Events
The Span object supports the standard properties and events.
Related Pages
HTML tutorial: HTML Blocks
HTML reference: HTML <span> tag