For the attributes defined in the SVG norm that contain a hyphen (-), it must
be replaced by an underscore (_) in the arguments : text_anchor instead of
text-anchor which would raise a Python syntax error.

In the above example, we created a text element and a circle element.
For a list of color keywords reference this link