Web/API/HTMLPictureElement

From Get docs

This is an experimental technologyCheck the Browser compatibility table carefully before using this in production.


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

Properties

No specific property, but inherits properties from its parent, HTMLElement.

Methods

No specific method, but inherits methods from its parent, HTMLElement.

Specifications

Specification Status Comment
HTML Living StandardThe definition of 'HTMLPictureElement' in that specification. Living Standard Initial definition

Browser compatibility

Update compatibility data on GitHub

Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari Android webview Chrome for Android Firefox for Android Opera for Android Safari on iOS Samsung Internet

HTMLPictureElement

Experimental'

Chrome

Full support 38

Edge

Full support 13

Firefox Full support 38


Full support 38


No support 32 — 52

Disabled'

Disabled' From version 32 until version 52 (exclusive): this feature is behind the dom.image.picture.enabled preference (needs to be set to true). To change preferences in Firefox, visit about:config.

IE

No support No

Opera

Full support 25

Safari

Full support 9.1

WebView Android

Full support 38

Chrome Android

Full support 38

Firefox Android Full support 38


Full support 38


No support 32 — 52

Disabled'

Disabled' From version 32 until version 52 (exclusive): this feature is behind the dom.image.picture.enabled preference (needs to be set to true). To change preferences in Firefox, visit about:config.

Opera Android

Full support 25

Safari iOS

Full support 9.3

Samsung Internet Android

Full support 3.0

Legend

Full support  
Full support
No support  
No support
Experimental. Expect behavior to change in the future.'
Experimental. Expect behavior to change in the future.
User must explicitly enable this feature.'
User must explicitly enable this feature.


See also