HTML object width attribute
Examples
The height and width of 400 pixels flash animation:
<object data="helloworld.swf" width="400" height="400"></object>
try it"
Browser Support
All major browsers support width attribute.
Definition and Usage
Attribute specifies the width in pixels of the width of the object.
Differences between HTML 4.01 and HTML5
no.
grammar
<object width=" pixels ">
Property Value
值 | 描述 |
---|---|
pixels | 以像素计的对象宽度(例如 width="100")。 |
HTML <object> tag