CLOSE

HTML Images

The image or <img> tag is used to place an image on the page.

<img src="http://blog.softwareadvice.com/wp-content/uploads/2012/07/Earth-Thumbnail.png" alt="Earth">
Expand

The src attribute tells the element where to find the image. The alt attribute is used to display text in case the image cannot be found. It is also used for SEO.

Just like with links, you will need a full path to the image if it is hosted on another server.

Share This Tutorial

Link To This Tutorial

Tutorial URL
https://stepbystephtml.com/tutorial/15/html-beginner-tutorial

HTML Link

Help Us to Help You

This website and it's tutorials are only made possible with your support. Support money goes towards keeping our servers online.

Amount

Link to Us

Spread the word! Let people know about our tutorials by placing links on blogs, websites, forums and other places.

HTML Link

Copyright 2019 Step By Step HTML. All Rights reserved.