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.

The HTMLPictureElement interface represents a <picture> HTML element. It doesn't implement specific properties or methods.

EventTarget Node Element HTMLElement 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

Browser compatibility

Desktop Mobile
Chrome Edge Firefox Opera Safari Chrome Android Firefox for Android Opera Android Safari on IOS Samsung Internet WebView Android
HTMLPictureElement 38 13 38 25 9.1 38 38 25 9.3 3.0 38

See also

© 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