Movatterモバイル変換


[0]ホーム

URL:


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

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

View in EnglishAlways switch to English

HTMLDataElement

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since 2017年10月.

HTMLDataElement 接口提供特定的属性(除了常规的HTMLElement 接口以外,它还可以通过继承来使用),用于操作<data> 元素。

EventTarget Node Element HTMLElement HTMLDataElement

实例属性

从其父接口HTMLElement 继承属性。

HTMLDataElement.value

一个反映value HTML 属性的字符串,包含元素值的机器可读形式。

实例方法

没有特定的方法,从其父接口HTMLElement 继承方法。

规范

Specification
HTML
# htmldataelement

浏览器兼容性

参见

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

Help improve MDN

Learn how to contribute

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2026 Movatter.jp