I have been trying to do a hello world for svg manipulation using javascript in HTML. I have written the below code and although it generates the correct html, I don\'t see any
SVG elements need to be created with the SVG XML namespace. You can do that using createElementNS and using the http://www.w3.org/2000/svg namespace:
createElementNS
http://www.w3.org/2000/svg