Skip to search.

Breaking News Visit Yahoo! News for the latest.

×Close this window

Search Help:  
 
Enter keywords to search help.

How do I add images to my HTML page?

In order for your web page to display an image, you must first be sure the image file has been uploaded to your File Manager. You can use our Easy Upload utility or an FTP client to upload your files. Learn how.

Once your file is in the File Manager, you must create the tag in your HTML code that will display the image on the page. In the example below, we create a link to the image called "logo.jpg."

<img src="logo.jpg">

You can link an image to a destination the same way you link words. In the example below, we'll link our image to our home page, "index.html." When a visitor clicks on our image, they will go to the home page.

<a href="index.html"><img src="logo.jpg"></a>

Note: Remember that file and subdirectory names are case sensitive; in other words, "subdirectory_1" is not the same as "Subdirectory_1," and "logo.jpg" is not the same as "logo.JPG."

Also, pay close attention to the file extension. In the example above, our image file name ended with .jpg. If we had used .JPG instead, our links would break.

If your image still won't display, check the file type. All image files should be saved as a JPEG or GIF file, which end with .jpg or .gif. Although you can upload bitmap (.bmp) images, they won't load in Netscape and will appear as broken images, so be sure to convert bitmap file to either a JPEG or GIF file before uploading it. Please note that simply renaming the file will not change the file type (and could, in fact, corrupt it). You need to use an image-editing program to convert the file into a JPEG or GIF file before uploading it to your File Manager.

Was this article helpful?

Yes   No
Click to contact Customer Care for further assistance.