When you do that you can use CSS to change the appearance of your SVG.
SVG elements support mouse events keyboard events. SVG is used to define vector-based graphics for the Web. Inside the element you can include any of the other basic shapes. This seems to be more complicated than need be.