Unsere Freiwilligen haben diesen Artikel noch nicht in Deutsch übersetzt. Machen Sie mit und helfen Sie, das zu erledigen!
This is an experimental technology
Because this technology's specification has not stabilized, check the compatibility table for the proper prefixes to use in various browsers. Also note that the syntax and behavior of an experimental technology is subject to change in future versions of browsers as the spec changes.
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 |
---|---|---|
WHATWG HTML Living Standard The definition of 'HTMLPictureElement' in that specification. |
Living Standard | Initial definition |
Browser compatibility
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari (WebKit) |
---|---|---|---|---|---|
Basic support | 38 | 33 (33)[1] | ? | ? | ? |
Feature | Android | Firefox Mobile (Gecko) | IE Phone | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|
Basic support | ? | 33.0 (33)[1] | ? | ? | ? |
[1] Gecko implements this behind the dom.image.picture.enabled
preference, defaulting to false
.
See also
- The
<picture>
HTML element that implements it. - The
HTMLImageElement
,HTMLSourceElement
often used in conjunction with a<picture>
element.