width (HTML attribute)

Spec
Depr. Version
Yes HTML 2

Syntax

width="width in pixels"

Description

An applet does not require a width attribute but, like the height attribute, it has its uses (refer to the advantages set out in the height attribute reference).

Example

The width attribute set to "200":

<applet code="ticker.class" height="100" width="200">
</applet>

Value

A number representing the height of the applet in pixels.

Compatibility

User-contributed notes

There are no comments yet.

Related Products