HTML and embed and width properties

HTML embed width property HTML slt;embed and tags

The width property is used to set the width of the content inserted in the label, refer to the following example:

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

<embed src="helloworld.swf" width="200" height="200">

Try it out . . .

Browser support

HTML embed width property HTML embed width property HTML embed width property HTML embed width property HTML embed width property

The width property is supported by all major browsers.


Definitions and usages

The width property specifies the width of the embedded content in pixels.


The difference between HTML 4.01 and HTML5

The label is the new label in HTML5.


Grammar

<embed width="pixels">

The property value

value describe
pixels The width of the embedded content is specified in pixel (such as width = "100").


HTML embed width property HTML slt;embed and tags