embed and other tags

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
basdog22
Forum Contributor
Posts: 158
Joined: Sun Nov 30, 2003 3:03 pm
Location: Greece

embed and other tags

Post 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????
microthick
Forum Regular
Posts: 543
Joined: Wed Sep 24, 2003 2:15 pm
Location: Vancouver, BC

Post by microthick »

<object> is valid.

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

http://www.alistapart.com/articles/flashsatay/
basdog22
Forum Contributor
Posts: 158
Joined: Sun Nov 30, 2003 3:03 pm
Location: Greece

Post 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
microthick
Forum Regular
Posts: 543
Joined: Wed Sep 24, 2003 2:15 pm
Location: Vancouver, BC

Post 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.
basdog22
Forum Contributor
Posts: 158
Joined: Sun Nov 30, 2003 3:03 pm
Location: Greece

Post 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
m3rajk
DevNet Resident
Posts: 1191
Joined: Mon Jun 02, 2003 3:37 pm

Post by m3rajk »

Gen-ik
DevNet Resident
Posts: 1059
Joined: Mon Aug 12, 2002 7:08 pm
Location: London. UK.

Post by Gen-ik »

This might be better suited to you seeing as you're using XHTML...

http://www.w3schools.com/xhtml/xhtml_reference.asp
m3rajk
DevNet Resident
Posts: 1191
Joined: Mon Jun 02, 2003 3:37 pm

Post 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.
basdog22
Forum Contributor
Posts: 158
Joined: Sun Nov 30, 2003 3:03 pm
Location: Greece

Post 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:
Post Reply