embed height Attribute - HTML CSS HTML Tag

HTML CSS examples for HTML Tag:embed

Description

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

Attribute Values

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

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

Demo Code

ResultView the demo in separate window

<!DOCTYPE html>
<html>
<body>

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

</body><!--from   ww w .j  ava 2 s. c o  m-->
</html>

Related Tutorials