1. Home
  2. Computing & Technology
  3. Personal Web Pages

How To Add An Image To Your Web Page

From , former About.com Guide

If you want to add gif and jpg images to your Web pages then here is your step by step to help you do it. Now you can easily make your Web page more beautiful for your visitors.
Difficulty: Easy
Time Required: 5-10 minutes
Here's How:
  1. Get an image from the Web by right clicking on it and then clicking on 'Save Picture As' and saving it to your computer. Or create your own image.
  2. Upload image to your server using the instructions given to you by your hosting service.
  3. Put the basic HTML tag for an image where you want it in your Web page code. It looks like this: <img src='name_of_graphic.gif'>
  4. Replace the address and name of your image where it says 'name_of_graphic.gif' inside the quotes.
Tips:
  1. If you wish you can align the image to the left by adding a space and the code align='left' after the quotes at the end of the name of your image. You can also align to the right, top and bottom by replacing 'left' with the appropriate direction.
  2. You can also create a border around your image by adding border='0' and replacing the '0' with the size of the border you want.
  3. You can also add text around the image by just adding it after the code.
Explore Personal Web Pages
About.com Special Features

Holiday Central

What to eat, where to go, fun things to do and how to save money on the perfect gifts. More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

  1. Home
  2. Computing & Technology
  3. Personal Web Pages

©2009 About.com, a part of The New York Times Company.

All rights reserved.