Inserting Images using HTML Updated on August 16, 2021 by Brad Markle 1 Minutes, 9 Seconds to Read 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=”Images/____.jpg” /> That is it! If your image is called my-image.jpg, then the required HTML code would be: <img src=”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 Share this Article Related Articles How to Prevent Image Hotlinking with .htaccess Rules How to Edit a Website File on Your Server How to Import a Table Using phpMyAdmin Force HTTPS with the .htaccess File The Complete Guide to cPanel Backups Schedule Social Media Posts With Buffer How to Google Analytics to WordPress Without a Plugin How to Install Jekyll and Launch a New Site FTP Basics for Dedicated Servers What is your default PHP.ini file?