SVG document structure : Referencing ( continued )
The
<defs>
tag allows to define objects which will be referenced later on in the same file
Example :
<defs>
<linearGradient id="Gradient01"> .... </linearGradient >
</defs>
...
<rect style="fill:url(#Gradient01) ..../>
All the definition of objects that will be used later on should be done in the same
<defs>
structure
Therefore there is only one
<defs>
structure in a single SVG file
Didier Courtaud
The SVG language
Novembre 2001
12 / 74