Name

CODE — NN n/a IE 4 HTML n/a

Synopsis

CODE=”fileName.class"

Required

I’m not sure why Microsoft specifies the CODE attribute for the EMBED element. Typically, a CODE attribute points to a Java class filename. In theory, an applet could be loaded into a document via the EMBED element (rather than the APPLET or OBJECT element), but this approach does not work in IE 4. Nor does the CODEBASE element help the browser find a Java applet class filename assigned to the SRC attribute. My recommendation is to avoid this attribute.

Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.