Back to Content

HTMLObjectElement: width property

files/en-us/web/api/htmlobjectelement/width/index.md

latest630 B
Original Source

{{APIRef("HTML DOM")}}

The width property of the {{domxref("HTMLObjectElement")}} interface returns a string that reflects the width HTML attribute, specifying the displayed width of the resource in CSS pixels.

Value

A string.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}

See also

  • {{domxref("HTMLCanvasElement.width")}}
  • {{domxref("HTMLEmbedElement.width")}}
  • {{domxref("HTMLIFrameElement.width")}}
  • {{domxref("HTMLImageElement.width")}}
  • {{domxref("HTMLSourceElement.width")}}
  • {{domxref("HTMLVideoElement.width")}}