This feature is well established and works across many devices and browser versions. It’s been available across browsers since March 2016.
The HTMLPictureElement interface represents a <picture> HTML element. It doesn't implement specific properties or methods.
No specific property, but inherits properties from its parent, HTMLElement.
No specific method, but inherits methods from its parent, HTMLElement.
| Specification |
|---|
| HTML> # htmlpictureelement> |
| Desktop | Mobile | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Chrome | Edge | Firefox | Opera | Safari | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | WebView Android | WebView on iOS | |
HTMLPictureElement |
38 | 13 | 38 | 25 | 9.1 | 38 | 38 | 25 | 9.3 | 3.0 | 38 | 9.3 |
<picture> HTML element that implements it.HTMLImageElement and HTMLSourceElement interfaces, often used in conjunction with a <picture> element.
© 2005–2025 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/HTMLPictureElement