Now that you have learned how to add an image to your website, you may need to change the alignment of the image.  This can be easily completed by modifying your image code.

In this example we will use the same code that we used in the previous section:

<img src="/help/Images/image.jpg" />

Now we will change the alignment.  For the alignment of the image, you have a few options:

  • align="left"
  • align="right"
  • align="middle"
  • align="top"
  • align="bottom"

If we have an image that we want to appear in the middle of the page, we will use the "middle" alignment tag.  The align tag will go in the same code as the img src, like this:

<img src="/help/Images/image.jpg" align="middle">

The image will now appear in the middle of the page.  When an image is aligned in this method, the text will appear above or below the image.

Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve this article:
Email Address

new! - Enter your name and email address above and we will post your feedback in the comments on this page!

Did you find this article helpful?

Post a Comment

Email Address:
Phone Number:

Please note: Your name and comment will be displayed, but we will not show your email address.

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Need More Help?

Help Center Search

Current Customers

Email: Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.