title: Is there a way to add source to an svg element
body: <p>I am lookings for something like:</p>
  
  <p><code>&lt;img src="./img.svg"/&gt;</code></p>
  
  <p>but with an <strong>svg</strong> element.</p>
  
  <p>This is not working:</p>
  
  <p><code>&lt;svg src="./img.svg"&gt;&lt;/svg&gt;</code></p>
  
  <p>EDIT:</p>
  
  <p>The problem is that I have two cases, in first I have a path to an svg and in the second I have a content of an svg in a string. I want to use the same wrapper element for both of them for easier styling instead of using both img and svg elements. Is there a way to use either img or svg element for both of them?</p>