Advertisement

HTML <embed> tag

Definition and Usage

<Embed> tag defines embedded content, such as plug-ins.

Examples

<embed src="helloworld.swf" />

Try it yourself

HTML 4.01 and HTML 5 differences between

<Embed> tag is new in HTML 5 tag.

Attributes

new: HTML5 new property.

Attributes value description
height pixels Setting the height of embedded content.
src url Embedded URL content.
type type Define the type of content embedded.
width pixels Setting the width of embedded content.

Global Properties

<embed> tag supports HTML in the global properties .

Event Properties

<embed> tag supports HTML in the event properties .

Related Pages

HTML DOM Reference Manual: the Embed Objects