Should I use <EMBED> for Flash?

Post here if your message doesn't fit into another forum but is still about web development. Includes site critiques, web hosting and server questions, helpful software and resources, and more.
Post Reply
ajtruckle
Rank II - Novice
Rank II - Novice
Posts: 47
Joined: Sat Feb 27, 2010 1:24 pm

Should I use <EMBED> for Flash?

Post by ajtruckle » Sun Mar 28, 2010 3:48 pm

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

User avatar
CaryD
Rank II - Novice
Rank II - Novice
Posts: 46
Joined: Sun Oct 01, 2006 2:18 pm
Location: CA

Re: Should I use <EMBED> for Flash?

Post by CaryD » Thu Apr 01, 2010 12:22 am

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.

User avatar
Albert Wiersch
Site Admin
Site Admin
Posts: 3417
Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX
Contact:

Re: Should I use <EMBED> for Flash?

Post by Albert Wiersch » Thu Apr 01, 2010 8:38 am

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.
Image
Albert Wiersch

Post Reply