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

Code Example 1


<img src="blabla.svg" alt="blabla_is_working">


Code Example 2

<!-- external svg -->
<img src="mySvgImage.svg" />

<!-- internal svg example -->
<svg viewBox="0 0 200 200" xmlns="">
  <rect width="100" height="100" x="50" y="50"/>

Code Example 3

<img src="image.svg" />

Learn ReactJs, React Native from