Youre probably used to creating your SVG masterpieces in your vector software. The namespace is simply "http://www.w3.org/2000/svg". Dynamic SVG Element Creation #9 by Craig Roblewsky (@PointC) Comments? To insert inline SVG into an HTML page, we need to open the SVG image file using a text editor. The icons are prepended to each post and can easily be used as anchor links for smooth scrolling. Add an image using javascript Let's create a variable image with createElement ("img"): var img = document.createElement ("img"); then indicate the name of the image (Note: if the image is not in the same directory as the html document, we can also specify the full path to the image for example './path_to_img/matplotlib-grid- 02.png '): Why is there a voltage on my HDMI and coaxial cables? Below are two SVGs, one inline and one external, added with an