Inkscape.org
Beginners' Questions How to convert SVG into HTML
  1. #1
    josiplisac josiplisac @josiplisac

    Can someone please help me make a workable conversion of SVG into HTML ?

    I made attempt by simply opening SVG with HTML editor and savibg it as HTML.

    However the HTML file is 50 MB.

    I attach the SVG I want converted into HTML.

  2. #2
    inklinea inklinea @inklinea⛰️

    SVG into HTML, that could mean several different things:Β 

    - Incorporating an SVG file into an HTML file 'as is' so the svg code sits in the html code as a tag and is rendered by the browser. Almost all browsers can do this.

    - Converting SVG vector data to HTML5 canvas data - Inkscape can save a HTML5 Canvas

    - Embedding SVG file as an object,Β  the browser will render the svg, then insert into a frame, svg code is inaccessible to the browser.

    - Converting SVG to an image such as png, and inserting as an image

    - Something more exotic, like converting SVG rectangles to CSS bordersΒ 

    Perhaps describe you usage case a bit more.

  3. #3
    josiplisac josiplisac @josiplisac

    I just want to turn my Inkscape drawing into index.html and then into Wordpress theme. How ?

  4. #4
    josiplisac josiplisac @josiplisac

    Here are the files (attached)

    Home Page With Inkscapesvg
    Home Page With Inkscapesvg
  5. #5
    inklinea inklinea @inklinea⛰️

    I've never done that, but this pageΒ https://blog.templatetoaster.com/create-wordpress-theme-scratch/

    Seems to outline the creation of a wordpress theme - maybe there is some tool which goes from svg to wordpress theme.

    However, maybe it is something a wordpress forum would be better to advise on.

  6. #6
    josiplisac josiplisac @josiplisac

    The link to page you sent gives 404 error. D you have another ?