Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> Embed Tag Valid In Xhtml 1.0 Strict?
Konstantine
post Mar 4 2006, 05:30 PM
Post #1


Newbie
*

Group: Members
Posts: 1
Joined: 4-March 06
Member No.: 19,490



Is it?

If not, could anyone reccommend how to get round it?

This post has been edited by Konstantine: Mar 4 2006, 05:30 PM
Go to the top of the page
 
+Quote Post
jlhaslip
post Mar 4 2006, 11:48 PM
Post #2


A computer once beat me at chess, but it was no match for me at kick boxing.
Group Icon

Group: [MODERATOR]
Posts: 4,071
Joined: 24-July 05
From: Linix, DOS and Windows…the good, the bad and the ugly
Member No.: 9,787
Spam Patrol



Yes, the embed tag is not accepted in xhtml strict. It has been replaced by the "object" tag. If you want to know the details, look here at the w3schools site.

A full html 4.01 and xhtml reference list is available on that site. I use it all the time. Bookmark it, please.

The way to have an object so that it works in both new and old Browsers is to use BOTH the object and the embed tags. There are all kinds of samples of this code around. find a site which has an object similar to the one you which to include in your page and do a "view > source" to learn how they have done it. A great learning method, by the way.
Go to the top of the page
 
+Quote Post
Ricardo Obregón
post May 10 2006, 09:03 PM
Post #3


Newbie
*

Group: Members
Posts: 1
Joined: 10-May 06
Member No.: 23,402



QUOTE(jlhaslip @ Mar 4 2006, 06:48 PM) *

Yes, the embed tag is not accepted in xhtml strict. It has been replaced by the "object" tag. If you want to know the details, look here at the w3schools site.

A full html 4.01 and xhtml reference list is available on that site. I use it all the time. Bookmark it, please.

The way to have an object so that it works in both new and old Browsers is to use BOTH the object and the embed tags. There are all kinds of samples of this code around. find a site which has an object similar to the one you which to include in your page and do a "view > source" to learn how they have done it. A great learning method, by the way.

All this is OK.
The reason is for making a more standard XHTML code and readable to everyone, I mean, people, browsers, cell phones, palms, pockets, and of course, search engines.
EMBED tag was an "invention" to "embed" ActiveX controls that were only used and displayed properly by IE or Windows based web browsers, and it was/is an opened door to viruses.
OBJECT is more useful and readable because allows to nest more OBJECT tags and even other tags like P, IMG, etc, that will be displayed if parent node cannot be.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Html And Xhtml(11)
  2. What Is The Xhtml 1.1 Code To Embed An Applet?(2)
  3. Order With Xhtml And Css(10)
  4. Xhtml Dtd(5)
  5. Xhtml Forms Layout(8)
  6. Xhtml 1.1 Vs Xhtml 1.0(13)
  7. Strict Xhtml(4)
  8. What Is Xhtml(27)
  9. Modify The Invision Skin Standards(1)
  10. Encoding And Xhtml Requirements(2)
  11. Xhtml Strict Method For Submit/reset Buttons As An(1)
  12. Need Free Help With Upgrading Websites For Church(4)
  13. Wml / Xhtml ?(6)
  14. Create A Xhtml, Css3 Valid Gallery With Javascript ;part 1(0)
  15. Questions About Xml, Xhtml(3)
  1. Xhtml Strict Links Tip(5)
  2. Opening Hyperlink In New Window Using Xhtml 1.0 Strict(5)
  3. What's The Point Of Xhtml?(3)


 



- Lo-Fi Version Time is now: 11th October 2008 - 07:55 AM