![]() |
VOOZH | about |
The HTML <object> hspace Attribute is used to specify the number of whitespaces on the left and right side of an object.
Syntax:
<object hspace="pixels"> Attribute:
Note: The <object> hspace Attribute is not supported in HTML 5.
Below examples illustrate the <object> hspace attribute in HTML:
Example 1: In this example the object with 50px margin on both side.
Output:
Example 2:
Output:
Supported Browsers: The browsers supported by HTML <object> hspace Attribute are listed below: