HTMLSpanElement
The HTMLSpanElement
interface represents a <span>
element and derives from the HTMLElement
interface, but without implementing any additional properties or methods.
属性
无特定属性;从其父元素HTMLElement
继承属性。
方法
无特定方法;从其父元素HTMLElement
继承方法。
说明
Specification | Status | Comment |
---|---|---|
HTML Living Standard HTMLSpanElement |
Living Standard | No change from HTML5. |
HTML5 HTMLSpanElement |
Recommendation | Initial definition, as <span> was associated with an HTMLElement before that. |
浏览器兼容性
BCD tables only load in the browser
另请参阅
- The HTML element implementing this interface:
<span>
.