'param' Example

Passing Values to Embedded SVG

To pass parameters to an SVG, use the <object> element with child <param> elements. Each <param> element should have name/value pairs with the 'name' and 'value' attributes; these will be exposed to the embedded SVG document.

    <object type="image/svg+xml" data="light.svg">
       <param name="color" value="red" />
       <param name="label" value="stop" />
    </object>