use svg code in img src directly code example
Example 1: svg with src in html
<object data="algerie.svg" type="image/svg+xml"></object>
Example 2: how to add an svg image to html
<body>
<img src="blabla.svg" alt="blabla_is_working">
</body>
<object data="algerie.svg" type="image/svg+xml"></object>
<body>
<img src="blabla.svg" alt="blabla_is_working">
</body>