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

Specification
HTML
# htmlpictureelement

Browser compatibility

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

See also