SVG Integraton on HTML


Ive make this file : logo.svg

<svg width="300" height="30" viewBox="0 0 300 30" version="1.1" xmlns="">
        @import url(;
        text {
            font-family: 'Lora', serif;
      <text x="50%" y="26" text-anchor="middle" >SALIM BENFARHAT</text>

When i launh logo.svg, the text style is applicated. But when i integrate the logo.svg on on html, doesn’t work. The text style is not applicated, why?


The code editor doesn’t recognize a few different file types, I see no way to set this manually.