Table of contents
- 1. Usage context
- 2. Elements
« SVG Attribute reference home
This attribute indicates a y-axis coordinate in the user coordinate system. The exact effect of this coordinate depend on each element. Most of the time, it represent the y-axis coordinate of the upper-left corner of the rectangular region of the reference element (see each individual element's documentation for exceptions).
If the attribute is not specified, the effect is as if a value of 0 were specified except for the <filter>
and <mask>
elements where the default value is -10%.
Usage context
- <coordinate>
-
A <coordinate> is a length in the user coordinate system that is the given distance from the origin of the user coordinate system along the relevant axis (the x-axis for X coordinates, the y-axis for Y coordinates). Its syntax is the same as that for <length>.
Within the SVG DOM, a <coordinate> is represented as an
SVGLengthor anSVGAnimatedLength.
Elements
The following elements can use the y attribute
Mozilla Developer Network