object width Attribute - HTML CSS HTML Tag

HTML CSS examples for HTML Tag:object

Description

The width attribute specifies the width of the object, in pixels.

Attribute Values

Value Description
pixels The width of the object, in pixels (i.e. width="100")

A flash animation with a height and width of 400 pixels::

Demo Code

ResultView the demo in separate window

<!DOCTYPE html>
<html>
<body>

<object width="400" height="400" data="helloworld.swf">
</object><!--  w  w  w .  ja  va 2 s .c o m-->

</body>
</html>

Related Tutorials