InMotion Hosting Support Center

Most websites have pictures or images in them. Inserting images into websites is easy in HTML.  All that you need is one line of code, and the location of the file either on your own server or linked from a different server.

First, you will need to open up the source code for the webpage and then navigate to where you would like to insert the image.  The basic HTML tag for an image is <img src>.  Img src stands for "image source" and refers to where the image is located.  Since images do not have any text to be displayed the tag does not need to be closed as with other tags such as the <p>.

If you have your images in a folder called Images (remember that file names and folder are case sensitive and Index is not the same as index), then the code needed would look like:

<img src="/support/Images/____.jpg" />

That is it!  If your image is called my-image.jpg, then the required HTML code would be:

<img src="/support/Images/my-image.jpg" />

There are a few other modifications you can do with image tags however we will discuss those later on the the series of tutorials.

Please check the next article on Changing the Image Alignment. For more information on this course please visit Inserting Images into a Website

Continued Education in Course 102: Inserting Images into a Website
You are viewing Section 1: Inserting Images using HTML
Section 2: Changing the Image Alignment

Related Questions

Here are a few questions related to this article that our customers have asked:
Link an image on my site to a Facebook page
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Support Center Login

Our Login page has moved, Click the button below to be taken to the login page.

n/a Points
2016-08-19 7:43 am

I have placed images on websites for many years. But on this one site I am struggling to figure out why they will not appear.

Here is the line of code I am trying:

<img class="featurette-image img-responsive" src="" alt="Todo Monkey Promotion Photo">

The photo will not appear, and I get the little image box and the alt text showing on the page.

If I place the photo on another one of my websites, and reference it then the photo  will appear on the page.

Why can't I reference a photo on my own server?


13,821 Points
2016-08-19 8:04 am
Remove the / at the end of the image URL.
13,821 Points
2016-08-19 8:06 am
Also, I dont see that the image is in the correct location.

Post a Comment

Email Address:
Phone Number:

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

3 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?


Ask the Community!

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

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!