Aligning Text to Graphics

You align graphics with text using the ALIGN attribute within the <IMG> tag.
There are three alignment options: top, middle and bottom. If you do not specify an
alignment the graphic aligns the text to the bottom of the image.

 

Text and graphic aligned top.

Text and graphic aligned top.

 

Text and graphic aligned middle.

 

Text and graphic aligned bottom.

 

Back to Table of Contents