Do I use , <>, >

后端 未结 15 2134
借酒劲吻你
借酒劲吻你 2020-11-22 06:10

Should I use , , or for loading SVG files into a page in a way similar to loading a jpg
15条回答
  •  野的像风
    2020-11-22 07:00

    You can insert a SVG indirectly using HTML tag and this is possible on StackOverflow following what is described below:

    I have following SVG file on my PC

    
    
    
    
      SVG 3 Circles Intersection 
    
        
         Label
        
        
         Ticket
        
        
         Vecto
        
    
    

    I have uploaded this image to https://svgur.com

    After upload was terminated, I have obtained following URL:

    https://svgshare.com/i/RJV.svg
    

    I have then MANUALLY (without using IMAGE icon) added following html tag

    
    

    and the result is just below

    For user with some doubt, it is possible to see what I have done in editing following answer on StackOverflow inserting SVG image

    REMARK-1: the SVG file must contains element. At begin, I have simply created a SVG file that begins directly with tag and nothing worked !

    REMARK-2: at begin, I have tried to insert an image using IMAGE icon of Edit Toolbar. I paste URL of my SVG file but StackOverflow don't accept this method. The tag must be added manually.

    I hope that this answer can help other users.

提交回复
热议问题