Sukarelawan kami masih belum menterjemah artikel ini ke bahasa Melayu. Sertai kami dan bantu melaksanakannya!
Anda juga boleh membaca artikel ini dalam bahasa English (US).

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  
Unknown
The definition of 'HTMLSpanElement' in that specification.
Unknown  
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

Update compatibility data on GitHub
DesktopMobile
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

Legend

Full support  
Full support

See also

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

Tag Dokumen dan Penyumbang

Terakhir dikemaskini oleh: ExE-Boss,