How do we put an image on a webpage? In order to put a simple image on a web page, we use the element. This is a void element (meaning, it cannot have any child content and cannot have an end tag) that requires two attributes to be useful: src and alt.