Aligning Graphics


You can use the align command to place an inline image at the right side of the page as shown in the following example.

<img align=right src="bird.gif">

You could use the following set of commands to center an image on your page:

<center>
<img src="gg1.jpg">
</center>

Display this image

You can also use the following command to align the graphic with the text:

<h1>
<img align=bottom src="computer.gif">YOUR TITLE
</h1>

The <h1> and </h1> tags are used to format the text that is to appear to the right of the image. The img align=bottom allows the text to be aligned at the bottom of the graphic. You could use top to align the text at the top of the graphic or center to center the image and text.


Return to HTML Tutorial Menu