This shows how to include apply CSS to inline svg in html.

A purple fill is applied to an svg path element with id 'svgbar'. The stylesheet is from a style element in the surrounding html.

View source to see how this is done.