[thelist] embed & html validating

Nik Schramm n at industriality.com
Sun May 26 17:08:00 CDT 2002


>>But it's necessary for NS4, right?

Much worse, I'm afraid: The <embed> tag is used by all browsers using
the Netscape Flash Player, which basically means every browser apart
from IE, as in Netscape 1-7, Mozilla, Opera etc. The <object> tag is
used only by the Active X version of the Flash Player in M$ Internet
Explorer.

Like you, I have also come across the problem of the non-validating
<embed> tag and - like you - I have found no way around it apart from a)
saying 'to hell with letter-perfect validation when it comes to Flash'
until either Macromedia, the browser makers or the W3C take care of this
(recommended) or b)writing your own custom XHTML doctype which just so
happens to include an embed tag (pointless) or c) using some silly
workaround like a JavaScript document.write() or an ASP Response.Write()
to write the object/embed tags dynamically, which *does* allow the page
to validate but will also drive you insane (not really recommended)
while at the same time violating every common-sense standard used in web
authoring (definitely not worth it).

/nik

www.industriality.com - candy for the inner eye




More information about the thelist mailing list