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

Code Example 1

<img src="logo.png" />

Code Example 2

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

Code Example 3

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

Code Example 4

<!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 5

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

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

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