W3Schools.com

HTML5 <embed> Tag

Example

An embedded flash animation:

<embed src="helloworld.swf" />

Try it yourself »

Browser Support

Internet Explorer Firefox Opera Google Chrome Safari

The <embed> tag is supported in all major browsers.


Definition and Usage

The <embed> tag defines a container for an external application or interactive content (a plug-in).


Differences Between HTML 4.01 and HTML5

The <embed> tag is new in HTML5.


Attributes

New : New in HTML5.

Attribute Value Description
heightNew pixels Specifies the height of the embedded content
srcNew URL Specifies the address of the external file to embed
typeNew MIME_type Specifies the MIME type of the embedded content
widthNew pixels Specifies the width of the embedded content

Global Attributes

The <embed> tag also supports the Global Attributes in HTML5.


Event Attributes

The <embed> tag also supports the Event Attributes in HTML5.


WEB HOSTING
Best Web Hosting
PHP MySQL Hosting
Best Hosting Coupons
UK Reseller Hosting
Cloud Hosting
Top Web Hosting
$7.95/mo SEO Hosting
Premium Website Design
WEB BUILDING
XML Editor - Free Trial!
FREE Website BUILDER
Free Website Templates Free CSS Templates
Make Your Own Website
W3SCHOOLS EXAMS
Get Certified in:
HTML, CSS, JavaScript, XML, PHP, and ASP
W3SCHOOLS BOOKS
New Books:
HTML, CSS
JavaScript, and Ajax
STATISTICS
Browser Statistics
Browser OS
Browser Display
SHARE THIS PAGE