embedded object


<embed src="">

The EMBED element defines an embedded object.

This element is used to embed multimedia objects into documents.


<embed src="example.swf" width="200" height="100">


Attribute Value Explanation
src=" " URL the URL of the object data
width=" " pixels or % the width of the object
height=" " pixels or % the height of the object
many other attributes exist

Extension element. (Non standard element)

src=""

Specifies the URL of the object data.

The data types that can be embedded :

  • Flash (.swf)
  • MPEG (.mpg)
  • QuickTime (.mov)
  • WAVE (.wav)
  • AU (.au)
  • MIDI (.mid)
  • AIFF (.aif)
  • RealAudio (.ra)
  • etc

width="", height=""

Movie data : Specifies the size of the movie stage.
Sound data : Specifies the size of the control bar.

Other attributes

autostart="", loop="", hidden="", etc.


Example

<embed src="example.swf" loop="false" quality="high" bgcolor="#ffffff" width="130" height="130">
Output