![](https://img.laitimes.com/img/9ZDMuAjOiMmIsIjOiQnIsIiZpdmLwV3LcNXZnFWbp9CXt92YuI2bv5Wdy5yd3d3Lc9CX6MHc0RHaiojIsJye.gif)
HTML <object> 标簽
高度和寬度為 400 像素的 flash 動畫:
<object data="helloworld.swf" width="400" height="400"></object>
所有主流浏覽器都支援 width 屬性。
width 屬性規定以像素計的對象寬度。
無。
<object width="pixels">
值
描述
pixels
以像素計的對象寬度(例如 width="100")。
![](https://img.laitimes.com/img/9ZDMuAjOiMmIsIjOiQnIsIiZpdmLwV3LcNXZnFWbp9CXt92YuI2bv5Wdy5yd3d3Lc9CX6MHc0RHaiojIsJye.gif)
HTML <object> 标簽
高度和寬度為 400 像素的 flash 動畫:
<object data="helloworld.swf" width="400" height="400"></object>
所有主流浏覽器都支援 width 屬性。
width 屬性規定以像素計的對象寬度。
無。
<object width="pixels">
值
描述
pixels
以像素計的對象寬度(例如 width="100")。