Back to Content

HTMLPictureElement

files/en-us/web/api/htmlpictureelement/index.md

latest734 B
Original Source

{{APIRef("HTML DOM")}}

The HTMLPictureElement interface represents a {{HTMLElement("picture")}} HTML element. It doesn't implement specific properties or methods.

{{InheritanceDiagram}}

Instance properties

No specific property, but inherits properties from its parent, {{domxref("HTMLElement")}}.

Instance methods

No specific method, but inherits methods from its parent, {{domxref("HTMLElement")}}.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}

See also

  • The {{HTMLElement("picture")}} HTML element that implements it.
  • The {{domxref("HTMLImageElement")}} and {{domxref("HTMLSourceElement")}} interfaces, often used in conjunction with a {{HTMLElement("picture")}} element.