w3resource

HTML codebase attribute

codebase

The purpose of the HTML codebase attribute is to define the base URL for a class ID, data file, or archive specified with the object tag.

Supported elements

HTML codebase attribute supports object element.

Syntax

<object codebase="value">..............</object>

Type of value

URL.

Value

A URL.

Default value

There is no default value.

Supported doctypes

HTML 4.01 strict, HTML 4.01 transitional, HTML 4.01 frameset.

Previous: HTML classid attribute
Next: HTML codetype attribute