Hi, i am working on a site at the moment and i need to use the <embed> tag for YouTube videos, rather than <object> or <iframe> as both <object> or <iframe> are causing conflicts with other scripts when i view my site on an iphone or ipad. A - is the <embed> tag ok to you use B - which is newer <embed> or <object> Thanks in advance for your help...
The <embed> tag is perfectly safe to use (I think it's somehow rendered in IE6 too), and it's a HTML5 tag, newer than <object>.
You should NEVER use EMBED or IFRAME, they are deprecated in the current RECOMMENDATION document types, and technically no longer receiving future support. The ONLY tag you should be using is OBJECT -- You don't go using half assed 1990's markup just because some rubbish script is poorly written! This isn't 1998 people!!! AND NO, EMBED is not 'new' -- and it's completely ***tarded they put it into HTML 5. Just as ****tarded as the AUDIO and VIDEO tags, and the general pitching into the trash the past decade's progress in web development and everything STRICT did to improve the specification! Again, bleeding edge of crap code written by people who have their heads permanently wedged up 1997's backside! The re-re's who until a few years ago were vomiting up HTML 3.2 and slapping 4 tranny on it, now just get to wrap the HTML 5 lip service around it and still sleaze out their sites any old way. Go progress!