Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

HTML <embed> tags


May 04, 2021 HTML Reference Manual


Table of contents


HTML slt;embed and tags

Labels are used to define content embedded in a page, such as plug-ins. For example, we embedded a flash animation in the following example:

Embedded flash cartoons:

<embed src="helloworld.swf">

Try it out . . .

Browser support

HTML <embed> tags HTML <embed> tags HTML <embed> tags HTML <embed> tags HTML <embed> tags

All major browsers support the hashtag.


Label definition and instructions for use

The label defines a container for embedding external applications or interactive programs (plug-ins).


The difference between HTML 4.01 and HTML5

The label is the new label in HTML 5.


Property

New : The new property in HTML5.

属性 描述
height New pixels 规定嵌入内容的高度。
src New URL 规定被嵌入内容的 URL。
type New MIME_type 规定嵌入内容的 MIME 类型。
注:MIME = Multipurpose Internet Mail Extensions。
width New pixels 规定嵌入内容的宽度。

Global properties

The label supports the global properties of HTML.


The event property

The tag supports the event properties of HTML.


Read about it

HTML DOM Reference Manual: HTML DOM Embed Object