The width
property of the
HTMLObjectElement
interface returns a DOMString
that
reflects the width
HTML attribute, specifying the
displayed width of the resource in CSS pixels.
Syntax
var String = HTMLObjectElement.width;
HTMLObjectElement.width = String;
Value
A DOMString
.
Specifications
Specification | Status | Comment |
---|---|---|
HTML Living Standard The definition of 'width' in that specification. |
Living Standard | Initial definition. |
Browser compatibility
BCD tables only load in the browser