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> # htmlpictureelement> |
Browser compatibility
Loading…
See also
- The
<picture>HTML element that implements it. - The
HTMLImageElementandHTMLSourceElementinterfaces, often used in conjunction with a<picture>element.