HTMLPictureElement
Experimental: 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 |
---|
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.