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

HTML5 <embed> tag


May 03, 2021 HTML5


Table of contents


Embedded flash cartoons:

<embed src="helloworld.swf">
Try it out . . .

Browser support

HTML5 <embed> tag HTML5 <embed> tag HTML5 <embed> tag HTML5 <embed> tag HTML5 <embed> tag

Note: Most modern browsers have deprecated and removed support for browser plug-ins, so it's often unwise to <embed> if you want your site to run on the browsers of ordinary users.


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.

Property Value Describe
height New pixels Specifies the height of the embedded content.
src New Url Specifies the URL of the embedded content.
type New MIME_type Specifies the type of MIME for embedded content.
Note: MIME - Multipurpose Internet Extension Mails.
width New pixels Specifies the width of the embedded content.

Global properties

The label supports the global properties of HTML.


The event property

The tag supports the event properties of HTML.