HighDots Forums  

<embed> sound in XHTML?

alt.html.dhtml alt.html.dhtml


Discuss <embed> sound in XHTML? in the alt.html.dhtml forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Mike
 
Posts: n/a

Default <embed> sound in XHTML? - 01-21-2005 , 01:33 AM






I'm in the process of converting some HTML text to XHTML, I'm stuck on some
<embed> sound files. The W3C's validator complains that there is no <embed>
tag in XHTML.

What do I need to do to retain embedded sounds (fired by Javascript) in my
page, and still validate to xhtml:transitional?

Thanks!

Mike



Reply With Quote
  #2  
Old   
David Dorward
 
Posts: n/a

Default Re: <embed> sound in XHTML? - 01-27-2005 , 02:04 AM






"Mike" <mikeATpearl-groupDOTcom> wrote:

Quote:
I'm in the process of converting some HTML text to XHTML, I'm stuck on
some <embed> sound files. The W3C's validator complains that there is no
embed> tag in XHTML.
.... nor HTML for that matter.

Quote:
What do I need to do to retain embedded sounds (fired by Javascript) in my
page, and still validate to xhtml:transitional?
The correct way to include generic media files is with the object element.
http://w3.org/TR/html4/struct/objects.html#edef-OBJECT

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.