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
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
HTMLPictureElement |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
See also
- The
<picture>
HTML element that implements it. - The
HTMLImageElement
andHTMLSourceElement
interfaces, often used in conjunction with a<picture>
element.