MDN may have intermittent access issues April 18 13:00 - April 19 01:00 UTC. See for all notifications.

Your Search Results


    The animate element is put inside a shape element and defines how an attribute of an element changes over the animation. The attribute will change from the initial value to the end value in the duration specified.

    Usage context

    Categories Animate element
    Permitted content Any number of the following elements, in any order:
    Descriptive elements »
    Normative document SVG 1.1 (2nd Edition)


    Source code Output result
    <?xml version="1.0"?>
    <svg width="120" height="120" 
         viewPort="0 0 120 120" version="1.1"
        <rect x="10" y="10" width="100" height="100">
            <animate attributeType="XML"
                     from="-100" to="120"

    » animate.svg


    Global attributes

    Specific attributes

    DOM Interface

    This element implements the SVGAnimateElement interface.

    Browser compatibility

    Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
    Basic support 2.0 4.0 (2.0) Not supported 9.0 4.0
    Feature Android Firefox Mobile (Gecko) IE Phone Opera Mobile Safari Mobile
    Basic support ? 4.0 (2.0) Not supported 9.5 4.0

    The chart is based on these sources.

    Document Tags and Contributors

    Last updated by: fscholz,