Page 1 of 1

embed and other tags

Posted: Sun Dec 28, 2003 2:59 pm
by basdog22
<embed> and other tags are not allowed in xhtml type. Where can i find other tags that do the same and are valid????

Posted: Sun Dec 28, 2003 3:02 pm
by microthick
<object> is valid.

Here's some info about using <object> rather than <embed> for flash.

http://www.alistapart.com/articles/flashsatay/

Posted: Sun Dec 28, 2003 3:09 pm
by basdog22
Thanks .

But what about other tags?

Dreamweaver MX claims to use valid xhtml but inserts embed tags...
microthick
Professional


Joined: 24 Sep 2003
Posts: 349
Man.... now i understand why i am just a scripter :P :P :P :P

Posted: Sun Dec 28, 2003 3:32 pm
by microthick
I think it would be easier if you were to say which tags it's inserting that are invalid, and we'll help you find alternatives.

Posted: Sun Dec 28, 2003 3:38 pm
by basdog22
well the only one i found is this embed tag but as i am new to this xhtml and stuff things so many tags are somewhat unfamiliar to me (which is valid and which is the alternative).

There maybe more

If i find one i will post

Posted: Sun Dec 28, 2003 3:48 pm
by m3rajk

Posted: Sun Dec 28, 2003 9:58 pm
by Gen-ik
This might be better suited to you seeing as you're using XHTML...

http://www.w3schools.com/xhtml/xhtml_reference.asp

Posted: Mon Dec 29, 2003 9:34 am
by m3rajk
Gen-ik wrote:This might be better suited to you seeing as you're using XHTML...

http://www.w3schools.com/xhtml/xhtml_reference.asp
did younotice that there is no real difference between their html and xhtml refrences? at least i didnt see anything. they simply have "deprecated" in what's not supported in xhtml, because currently it's supported if you use transitional.

Posted: Mon Dec 29, 2003 2:52 pm
by basdog22
from alistapart i grub the example code. It works ok with Opera and IE but still no mozilla.

I did the c.swf?path=movie.swf trick but it only dislayed nothing so i came up with the idea to have flash buttons for IE and Opera. For mozilla i will make some rollover effects untill i find something to work.

Thanks :wink: