SVG repeatCount attribute
The repeatCount attribute specifies the time duration of an animation. The elements that are using this attribute includes <animate>, <animateColor>, <animateMotion>, <animateTransform>, and <set>
repeatCount = number || indefinite
Attribute Values: The repeatCount attribute accepts the values mentioned above and described below.
- number: It indicates the number of iterations. The values starts greater than 0 and beyond.
- indefinite: It specifies that the animation will repeat indefinitely.
Example 1: The below examples illustrates the use of the repeatCount attribute.
Attention reader! Don’t stop learning now. Get hold of all the important Comcompetitivepetitve Programming concepts with the Web Design for Beginners | HTML course.