Get to know MDN better
The type attribute is a generic attribute and it has different meaning based on the context in which it's used.
You can use this attribute with the following SVG elements:
SVG element: <animateTransform>
| None |
| translate | scale | rotate | skewX | skewY |
| No |
| Scalable Vector Graphics (SVG) 2 |
SVG element: <feColorMatrix>
| None |
| matrix | saturate | hueRotate | luminanceToAlpha |
| Yes |
| Filter Effects Module Level 1 |
SVG elements: <feFuncR>, <feFuncG>, <feFuncB>, <feFuncA>
| None |
| identity | table | discrete | linear | gamma |
| Yes |
| Filter Effects Module Level 1 |
SVG element: <feTurbulence>
| None |
| fractalNoise | turbulence |
| Yes |
| Filter Effects Module Level 1 |
SVG elements: <style>, <script>
| None |
| <media-type> |
| No |
|
Scalable Vector Graphics (SVG) 2 Scalable Vector Graphics (SVG) 2 |
This page was last modified on Apr 7, 2026 by MDN contributors.
Your blueprint for a better internet.
Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2026 by individual mozilla.org contributors. Content available under a Creative Commons license.