Why do we use hspace and vspace


4 Answers

New Answer


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">


the space that surrounds <IMG> oder <Object> elements


is it basically padding???