To insert an image in an HTML document, you can use the <img> tag.

Syntax #

<img src='logo.png'>

The src attribute is used to specify the location (URL) of the image.

Example : insert image in HTML document. #
<img 
 src='https://app.3schools.in/img/bg.png' 
 alt='logo'
>
Try it Yourself »