We're looking for a user researcher to understand the needs of developers and designers. Is this you or someone you know? Check out the post: https://mzl.la/2IGzdXS

HTMLPictureElement

This is an experimental technology
Check 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 Standard
The definition of 'HTMLPictureElement' in that specification.
Living Standard Initial definition

Browser compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support3813

38

32 — 521

No259.1
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support3838 Yes

38

32 — 521

259.3 Yes

1. 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.

See also

Document Tags and Contributors

Contributors to this page: ExE-Boss, Sebastianz, libbymc, fscholz, realityking, teoli
Last updated by: ExE-Boss,