Hspace Examples


Hspace = "1", Right Aligned Image


<IMG SCR="house.gif" ALIGN="RIGHT" HSPACE="1">

Note: Hspace specifies the distance between the text and the vertical borders of the image. That is it sets the the horizonal space between the image and text. Units are in Pixels. Text will wrap around the image if an Align = Left or Right attribute is given. It will not flow around a Center Aligned image. The text should be placed in the code after the image.

Hspace = "20", Right Aligned Image


<IMG SRC="house.gif" ALIGN="RIGHT" HSPACE="20">

Note: Hspace specifies the distance between the text and the vertical borders of the image. That is it sets the the horizonal space between the image and text. Units are in Pixels. Text will wrap around the image if an Align = Left or Right attribute is given. It will not flow around a Center Aligned image. The text should be placed in the code after the image.


Hspace = "1", Left Aligned Image


<IMAGE SRC="house.gif" ALIGN=LEFT Hspace="1">

Note: Hspace specifies the distance between the text and the vertical borders of the image. That is it sets the the horizonal space between the image and text. Units are in Pixels. Text will wrap around the image if an Align = Left or Right attribute is given. It will not flow around a Center Aligned image. The text should be placed in the code after the image.


Hspace = "20", Left Aligned Image


<IMG SRC="house.gif" ALIGN=LEFT Hspace="20">

Note: Hspace specifies the distance between the text and the vertical borders of the image. That is it sets the the horizonal space between the image and text. Units are in Pixels. Text will wrap around the image if an Align = Left or Right attribute is given. It will not flow around a Center Aligned image. The text should be placed in the code after the image.