Here is a simple 3x3 table with with colSpan and rowSpan
You can do the same thing using HTML form.
Instead of writing all the objects, you can simply use string array to make columns. it will save a lot of time. Of course, you can add attributes more if you want.
Rounded table is now supported! Easily add rx,ry and it will show rounded tables! (React/Solid - from 3.2.0, Vanilla - from 3.1.0)
To use the real SVG’s vector drawing power, try to add standalone
props.
Your table will be resized depends on its container in a HTML element.
You also can copy & paste the svg code to create a new .svg file without issue.
if you don’t use standalone prop, xmlns="http://www.w3.org/2000/svg"
attribute will not be added,
which causes the browser read the file as a normal XML file.
You can easily add gaps between rows or columns.