Check out example codes for "shopify custom html image tag src attribute". It will help you in understanding the concepts better.

Code Example 1

<img src="//cdn.shopify.com/s/files/1/0222/9076/t/10/assets/logo.png?796" alt="Logo">

Learn ReactJs, React Native from akashmittal.com