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

Code Example 1

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

Learn ReactJs, React Native from akashmittal.com