Skip to: content, navigation

by Ian Lloyd

width (HTML attribute)

Spec
Depr. Version
Yes HTML 2
width="width in pixels"

Example

The width attribute set to "200":

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

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).

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

The Principles of Beautiful Web Design

Best Seller!

You don’t need to go to Art School to design great looking web sites!

Book Cover: The Principles of Beautiful Web Design

Download the FREE sample chapters