How to set image on page in HTML?
Ask by Steilla Mitchel
Updated 05 Jun 2024
Show image on HTML Page
HTML provides the built-in tag for showing images on an HTML webpage
HTML <img> tag
To set an image on a web page in HTML, you can use the
<img>tag.Syntax-
<img src= “image-path”/>
Example-
Output-
Explanation-
That's it! When you open the HTML file in a web browser, the image will be displayed on the page.