How do I add an image to my website?

How can I add an image into my website?

Hey @ZayanJunaid, welcome to the community!

You can use the <img> tag and insert a image like so:

<img src="path/to/your/image.png" alt="My Image">

src represents the file path to the image and alt shows the text if the image doesn’t load or is not found. You can also see it when you hover over it.

If you are keen to learn more, you can read more about it here.

3 Likes