How to show a image in html page?

Also you can show images using css background property...

..
<div class="bgimage">
.. ..
</div>
..

<style>
.bgimage {
width: 100%;
height:200px;
background: url('IMAGE-URL-HERE') #000 no-repeat;
}

</style>
 
<img src="foldername/img.jpg">Flower/imgname</img>
HTML tag <img> is used to define the image
src define the URL of the image
 
image show in html tag give n below:
<img src="pic_mountain.jpg" alt="Mountain View" style="width:304px;height:228px;">
 
Back
Top