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

Code Example 1

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

Code Example 2

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

Code Example 3

<img src="url" alt="alternatetext">

Learn ReactJs, React Native from akashmittal.com