HTMLSpanElement
Baseline Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015.
HTMLSpanElement
接口表示一个 <span>
元素,继承自 HTMLElement
接口,但没有实现任何额外的属性和方法。
实例属性
无特定属性;从其父元素 HTMLElement
继承属性。
实例方法
无特定方法;从其父元素 HTMLElement
继承方法。
规范
Specification |
---|
HTML # htmlspanelement |
浏览器兼容性
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
HTMLSpanElement |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
参见
- 实现此接口的 HTML 元素:
<span>
。