Check out example codes for "html how to insert image". It will help you in understanding the concepts better.

Code Example 1

<img src="img_girl.jpg" alt="Image Load Error" width="500" height="600">

Code Example 2

<!--When the image is in the same folder as your html file-->
<img src="example.jpg">
<!--When the image is in a image folder-->
<img src="./image/example.jpg">

Code Example 3

<html>
  <head>
  </head>
	<body>
  <img src="exampel.end">
    </img>
  </body>
  
  
  </html>

Code Example 4

<img src="flowers.jpg" alt="flowers">

//Always add the image type (jpg,png, etc) Adding alt text
is also good coding practice :)

Code Example 5

<!DOCTYPE html>
<html>
   <head>
      <title>HTML img Tag</title>
   </head>

   <body>
      <img src="/html/images/test.png" alt="Simply Easy Learning" width="200"
         height="80">
   </body>
</html>

Code Example 6

<img src="img_girl.jpg" alt="Girl in a jacket" style="width:500px;height:600px;">

Learn ReactJs, React Native from akashmittal.com