HTML
Example
with the specified height and width of 200 pixels
Try it »
Browser support





All major browsers support the width property.
Definition and Usage
The width attribute specifies the
Differences Between HTML 4.01 and HTML5
In HTML 4.01, the width should be defined in pixels or as a percentage of the containing element. In HTML5, the width value must be in pixels.
HTML