The HTMLPictureElement interface represents a <picture> HTML element. It doesn't implement specific properties or methods.
On this page
HTMLPictureElement
Instance properties
No specific property, but inherits properties from its parent, HTMLElement.
Instance methods
No specific method, but inherits methods from its parent, HTMLElement.
Specifications
| Specification |
|---|
| HTML Standard # htmlpictureelement |
Browser compatibility
| Desktop | Mobile | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | WebView Android | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | |
HTMLPictureElement |
38 | 13 | 38 | No | 25 | 9.1 | 38 | 38 | 38 | 25 | 9.3 | 3.0 |
See also
- The
<picture>HTML element that implements it. - The
HTMLImageElementandHTMLSourceElementinterfaces, often used in conjunction with a<picture>element.
© 2005–2023 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/HTMLPictureElement