Complete SVG Reference
The SVG animate element is used to animate an attribute or property over time.
This example creates a rectangle that repeatedly fade away over 5 seconds.
Copy the following code into Notepad and save the file as "animate_1.svg". Place the file in your Web directory:
This example animates the x, y, width, and height attributes of a rectangle for a period of 6 seconds (making the rectangle "grow"). It will also change the color of the rectangle with the animateColor element.
Copy the following code into Notepad and save the file as "animate_2.svg". Place the file in your Web directory:
Complete SVG Reference
| WEB HOSTING |
|---|
| Best Web Hosting |
| PHP MySQL Hosting |
| Best Hosting Coupons |
| UK Reseller Hosting |
| Cloud Hosting |
| Top Web Hosting |
| $7.95/mo SEO Hosting |
| Premium Website Design |
| WEB BUILDING |
|---|
| Download XML Editor |
| FREE Website BUILDER |
| Free Website Templates Free CSS Templates |
| Make Your Own Website |
| W3SCHOOLS EXAMS |
|---|
|
Get Certified in: HTML, CSS, JavaScript, XML, PHP, and ASP |
| W3SCHOOLS BOOKS |
|---|
|
New Books: HTML, CSS JavaScript, and Ajax |
| STATISTICS |
|---|
|
Browser Statistics Browser OS Browser Display |
| SHARE THIS PAGE |
|---|