hrefThe URL to an element/fragment that needs to be duplicated. Value type: <URL> ; Default value: none; Animatable: yesxlink:hrefDeprecated: This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible; see the compatibility table at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time.
An <IRI> reference to an element/fragment that needs to be duplicated. Value type: <IRI> ; Default value: none; Animatable: yesxThe x coordinate of the use element. Value type: <coordinate> ; Default value: 0; Animatable: yesyThe y coordinate of the use element. Value type: <coordinate> ; Default value: 0; Animatable: yeswidthThe width of the use element. Value type: <length> ; Default value: 0; Animatable: yesheightThe height of the use element. Value type: <length> ; Default value: 0; Animatable: yes
Note:width, and height have no effect on use elements, unless the element referenced has a viewbox - i.e. they only have an effect when use refers to a svg or symbol element.
Note: Starting with SVG2, x, y, width, and height are Geometry Properties, meaning those attributes can also be used as CSS properties for that element.
CategoriesGraphics element, Graphics referencing element, Structural elementPermitted contentAny number of the following elements, in any order: Animation elements Descriptive elements