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.

Should I use <EMBED> for Flash?

Postby 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
ajtruckle
Rank II - Novice
Rank II - Novice
 
Posts: 41
Joined: Sat Feb 27, 2010 2:24 pm

Re: Should I use <EMBED> for Flash?

Postby 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
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?

Postby 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
User avatar
Albert Wiersch
Site Admin
Site Admin
 
Posts: 2361
Joined: Sat Dec 11, 2004 10:23 am
Location: Near Dallas, TX


Return to General Web Development

Who is online

Users browsing this forum: No registered users and 1 guest