New course! Every coder should learn Generative AI!
Try a free lesson+ 40
Why do we use hspace and vspace
Spaces
3 Answers
+ 3
the space that surrounds <IMG> oder <Object> elements
+ 2
hspace and vspace refer to the horizontal and vertical spaces respectively. These two are attributes of <img> tags and are used to add space around the image vertically or horizontally.
You can specify the space in of but there's no need to do so.
Example:-
<IMG src="girl.png" hspace="20" vspace="20">
+ 2
is it basically padding???