Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
Once you have determined the visual properties you'd like, you must select the element or elements to which they apply. The simplest way to apply a style specification to a single element is to make that specification the value of a style attribute. So, if you want the preceding specification to apply to a particular <circle> in your document, you write:
<circle cx="50" cy="40" r="12"
style="stroke: red; stroke-width: 3px; fill: #ccccff;"/>