HTMLSpanElement

The HTMLSpanElement interface represents a <span> element and derives from the HTMLElement interface, but without implementing any additional properties or methods.

Properties

This interface has no properties, but inherits properties from: HTMLElement.

Methods

This interface has no methods, but inherits methods from: HTMLElement.

Specifications

Specification Status Comment
HTML Living Standard
The definition of 'HTMLSpanElement' in that specification.
Living Standard
HTML 5.2
The definition of 'HTMLSpanElement' in that specification.
Recommendation
HTML 5.1
The definition of 'HTMLSpanElement' in that specification.
Recommendation
HTML5
The definition of 'HTMLSpanElement' in that specification.
Recommendation Initial definition, as <span> was associated with an HTMLElement before that.

Browser compatibility

BCD tables only load in the browser

See also

  • The HTML element implementing this interface: <span>.