Skip to: content, navigation

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.

Add a note

To post a note on this topic, please log in with your SitePoint username and password. If you don't have an account yet, you can create a new account for free.

Related Products

Search