Page 1 of 1

Should I use <EMBED> for Flash?

Posted: Sun Mar 28, 2010 3:48 pm
by ajtruckle
Hello

I added some flash using <OBJECT> and had an <EMBED> inside it. But that showed as an issue. Should one use <embed> or not?

Andrew

Re: Should I use <EMBED> for Flash?

Posted: Thu Apr 01, 2010 12:22 am
by CaryD
Go ahead and use it. There are other ways to code the object so you don't need embed, but it works. You can search the web for alternatives to using embed with flash, if you really don't want it there.

Re: Should I use <EMBED> for Flash?

Posted: Thu Apr 01, 2010 8:38 am
by Albert Wiersch
Hi Andrew,

The "embed" element is in HTML5 (but not previous versions of HTML):
http://dev.w3.org/html5/markup/spec.html#embed

Most likely OK to use it... but it should be empty (no end tag) according to HTML5.