use
Description
The use element for SVG specifies a reference to another element, a copy of which is rendered in place of the use element.
Syntax
Attributes
height
Specifies the height of the element.
This only has an effect if the referenced element defines a viewport.
Value
auto | <length-percentage>
Default
auto
href
Specifies a Uniform Resource Locator (URL) reference to the element.
Value
<url>
Default
(none)
width
Specifies the width of the element.
This only has an effect if the referenced element defines a viewport.
Value
auto | <length-percentage>
Default
auto
x
Specifies the x-coordinate of the element.
Value
<length-percentage>
Default
0
y
Specifies the y-coordinate of the element.
Value
<length-percentage>
Default
0