HTMLObjectElement: width property

فهرست فصل‌ها دانلود آرشیوناشر

MDN Web Docs · نسخهٔ df622a2a1c1e · CC BY-SA 2.5 و مجوز جداگانهٔ ناشر برای نمونه‌کد

{{APIRef("HTML DOM")}}

The **width** property of the {{domxref("HTMLObjectElement")}} interface returns a string that reflects the [width](/en-US/docs/Web/HTML/Reference/Elements/object#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")}}