Movatterモバイル変換


[0]ホーム

URL:


  1. 面向开发者的 Web 技术
  2. Web API
  3. HTMLSpanElement

此页面由社区从英文翻译而来。了解更多并加入 MDN Web Docs 社区。

View in EnglishAlways switch to English

HTMLSpanElement

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since ⁨2015年7月⁩.

HTMLSpanElement 接口表示一个<span> 元素,继承自HTMLElement 接口,但没有实现任何额外的属性和方法。

EventTarget Node Element HTMLElement HTMLSpanElement

实例属性

无特定属性;从其父元素HTMLElement 继承属性。

实例方法

无特定方法;从其父元素HTMLElement 继承方法。

规范

Specification
HTML
# htmlspanelement

浏览器兼容性

参见

  • 实现此接口的 HTML 元素:<span>

Help improve MDN

Learn how to contribute

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2025 Movatter.jp