Contents

width

Specifies how wide an element is.

Overview

Use the width style to change the width of an element. Here’s an example that sets the width of an img element to 250 points.

<img src="path to image" width="250" height="376" />

Values for width

Integer

The width of the element, in points. For example, width="200" sets the width of the element to 200 points.

Elements that Use width

See Also

Element Sizing