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.
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
BCD tables only load in the browser
See also
- The
<picture>
HTML element that implements it. - The
HTMLImageElement
andHTMLSourceElement
interfaces, often used in conjunction with a<picture>
element.