Easy Tutorial
❮ Dom Obj Attributes Prop Param Name ❯

Image vspace Attribute


Definition and Usage

The vspace attribute sets or returns the white space on the top and bottom of an image.

The hspace and vspace attributes can be used together with align to set the distance between the image and the surrounding text.

Syntax


Browser Support

All major browsers support the vspace attribute.


Example

The following example sets the hspace and vspace attributes of an image:


❮ Dom Obj Attributes Prop Param Name ❯