Check out example codes for "how to add image in html". 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

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

Code Example 3

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

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

Code Example 4

<img src="pic_trulli.jpg" alt="Italian Trulli">

Code Example 5

<img src="image.jps">
//image.jpg is where you would put the inage source.

Code Example 6

<img src="logo.png" />

Learn ReactJs, React Native from akashmittal.com