MDN self-hosted library · e01.org

HTMLObjectElement: width property

HTML DOM

no runnable cells web-api-instance-property upstream source

HTML DOM

The width property of the 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

Browser compatibility

See also

  • HTMLCanvasElement.width
  • HTMLEmbedElement.width
  • HTMLIFrameElement.width
  • HTMLImageElement.width
  • HTMLSourceElement.width
  • HTMLVideoElement.width