MDN wants to learn about developers like you:


« SVG Attribute reference home

The z attribute difine the location along the Z-axis for a light source in the coordinate system established by the primitiveUnits attribute on the <filter> element, assuming that, in the initial coordinate system, the positive Z-axis comes out towards the person viewing the content and assuming that one unit along the Z-axis equals on unit in X and Z.

If the attribute is not specified, then the effect is as if a value of 0 were specified.

Usage context

Categories None
Value <number>
Animatable Yes
Normative document SVG 1.1 (2nd Edition) : fePointLight
SVG 1.1 (2nd Edition) : feSpotLight



The following elements can use the z attribute

Document Tags and Contributors

 Contributors to this page: Jeremie
 Last updated by: Jeremie,