Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

HTML embed width Attribute

HTML width property

HTML embed Tag Reference HTML tag

Example

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

Try it »


Browser support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

All major browsers support the width property.


Definition and Usage

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


Differences between HTML 4.01 and HTML5

The tag is new in HTML5.


Syntax

Attribute values

Value Description
pixels Specifies the width of the embedded content, in pixels (for example width="100").

HTML embed Tag Reference HTML tag