To place an image onto a page you will need to use the image tag. There are two very important things to remember about the image tag:

It’s an empty tag (remember, that means there’s no closing tag, only a beginning).

The <img src= “” tag has two required attributes:

There are two ways of inserting images in your website:

  1. By link (copying the image address from your browser)
  2. By saving the image to your computer

Take a look at the example below the first code we have used the image address from the browser and the second cod is how we have saved the image on our computer.


<img src=”“>

<img src=”bloocartoon.png”>

src – helps the browser identify and find an image
Scroll to Top