Name

CODEBASE — NN 4 IE 3 HTML 4

Synopsis

CODEBASE=”path"

Optional

Path to the directory holding the class file designated in either the CODE or CLASSID attribute. The CODEBASE attribute does not name the class file, just the path. You can make this attribute a complete URL to the directory, but don’t try to access a codebase outside of the domain of the current document.

Example

<OBJECT CODE="fileReader.class" CODEBASE="classes"></OBJECT>

Value

Case-sensitive pathname, usually relative to the directory storing the current HTML document.

Default

None.

Object Model Reference

IE

[window.]document.all.elementID.codeBase

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.