Svg: simple example

 SVG Stuff


That was how to do it all inline. To decouple the svg from the parent html, you need something like this:

Now, until I included the namespace xmlns=””, all  got was a dumb broken. With the namespace in place, you get this:


This is a simple loop in JavaScript to print white piano keys…