HTMLPictureElement

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since March 2016.

HTMLPictureElement 接口表示 <picture> HTML 元素,它不实现特定的属性和方法。

EventTarget Node Element HTMLElement HTMLPictureElement

实例属性

无特定属性;从其父接口 HTMLElement 继承属性。

实例方法

无特定方法;从其父接口 HTMLElement 继承方法。

规范

Specification
HTML
# htmlpictureelement

浏览器兼容性

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
HTMLPictureElement

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support

参见