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

Like this Article?

Login to comment.

Your Opinion Matters

... but we need to know what you're thinking!

I'm Brad Markle, your friendly Community Support technician, and I wrote the article you're looking at now. I like to think it's perfect, but I'm sure you have some suggestions. Please, let me know what they are!

Feedback
Your Email Address
Because we'd like to talk with you!

Latest Questions

If you need some help, submit your question to our Community!
We guarantee a response within 60 minutes (8am - 9pm EST, Monday - Friday)
Ask a Question!
Recent Questions
  1. Why 404?
  2. how to change may site name in joomla 3.0?
  3. Cpanel license is expired

Need more Help?

Search

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: support@InMotionHosting.com
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!