W3Schools.com

HTML5 <embed> type Attribute

HTML5 embed Tag Reference HTML5 <embed> tag

Example

An embedded flash animation with a MIME type:

<embed src="helloworld.swf" type="application/x-shockwave-flash" />

Try it yourself »

Browser Support

Internet Explorer Firefox Opera Google Chrome Safari

The type attribute is supported in all major browsers.


Definition and Usage

The type attribute specifies the MIME type of the embedded content.


Differences Between HTML 4.01 and HTML5

The <embed> tag is new in HTML5.


Syntax

<embed type="MIME_type" />

Attribute Values

Value Description
MIME_type The MIME type of the embedded content.
Look at IANA MIME types for a complete list of standard MIME types.


HTML5 embed Tag Reference HTML5 <embed> tag
WEB HOSTING
Best Web Hosting
PHP MySQL Hosting
Best Hosting Coupons
UK Reseller Hosting
Cloud Hosting
Top Web Hosting
$3.98 Unlimited Hosting
Premium Website Design
WEB BUILDING
XML Editor - Free Trial!
FREE Website BUILDER
Best Website Templates Top CSS Templates
CREATE HTML Websites
EASY WEBSITE BUILDER
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