To add images to a webpage, use the HTML image element:
Just like websites have URLs, images on the web also have URLs. Image URLs typically end with the .jpg or .png file extension. The
src attribute sets the source for an image element.
Image elements are self-closing, which means they do not need a closing tag.
Let's use an image element to add a photograph to our webpage.