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">
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.
This website and it's tutorials are only made possible with your support. Support money goes towards keeping our servers online.
Spread the word! Let people know about our tutorials by placing links on blogs, websites, forums and other places.
Copyright 2019 Step By Step HTML. All Rights reserved.