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


No specific property; inherits properties from its parent, HTMLElement.


No specific method; inherits properties from its parent, HTMLElement.


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

Browser compatibility

Update compatibility data on GitHub
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidEdge MobileFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
HTMLSpanElementChrome Full support YesEdge Full support YesFirefox Full support YesIE Full support YesOpera Full support YesSafari Full support YesWebView Android Full support YesChrome Android Full support YesEdge Mobile Full support YesFirefox Android Full support YesOpera Android Full support YesSafari iOS Full support YesSamsung Internet Android Full support Yes


Full support  
Full support

See also

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

Document Tags and Contributors

Last updated by: mdnwebdocs-bot,