embed width Attribute - HTML CSS HTML Tag

HTML CSS examples for HTML Tag:embed


The width attribute sets the width of the embedded content, in pixels.

Attribute Values

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

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

Demo Code

ResultView the demo in separate window

<!DOCTYPE html>

<embed src="helloworld.swf" width="200" height="200" style="border:1px solid">

</body><!--from  w  w w  .  j  av a 2 s .c  o  m-->

Related Tutorials