HTML embed width attribute
Examples
A height and width of 200 pixels flash animation:
<embed src="helloworld.swf" width="200" height="200">
try it"
Browser Support
All major browsers support width attribute.
Definition and Usage
width attribute specifies the width of the content is embedded in pixels.
Differences between HTML 4.01 and HTML5
<Embed> tag is new in HTML5 tags.
grammar
<embed width="pixels">
Property Value
值 | 描述 |
---|---|
pixels | 规定被嵌入内容的宽度,以像素计(比如 width="100")。 |
HTML <embed> tag