HTML Embed

From WikiOD

Parameters[edit | edit source]

Parameters Details
src Address of the resource
type Type of embedded resource
width Horizontal dimension
height Vertical dimension

Basic usage[edit | edit source]

The embed tag is new in HTML5. This element provides an integration point for an external (typically non-HTML) application or interactive content.

<embed src="myflash.swf">

Defining the MIME type[edit | edit source]

The MIME type must be defined using the type attribute.

<embed type="video/mp4" src="video.mp4" width="640" height="480">