Check out example codes for "html img src". It will help you in understanding the concepts better.

Code Example 1

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

Code Example 2

<img src="the source image's url" alt="the image's description">

Code Example 3

<img href=""> 
<!-- for an image online -->

<img src=C:\your_files>
<!-- for a local file -->

Code Example 4

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

Code Example 5

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

Code Example 6

<img src="smiley.gif" alt="Smiley face" height="42" width="42">

Learn ReactJs, React Native from