+ 6

How can we wave any object in HTML ???

11th Sep 2017, 1:25 PM
Arushi Singhania
Arushi Singhania - avatar
14 Answers
+ 3
The question ask for "any object in HTML", so the answer marked as best is wrong: <animation> tag is not for HTML but for SVG elements/objects only ^^ Even if you can embed svg code inside html, you cannot use <animate> with "any" HTML element, but you need to use CSS and/or Javascript to animate "any object in HTML", including SVG... (JS can access HTML as well as SVG through DOM -- Document Object Model, the browsers internal data structure/representation of a web document -- and CSS is used in addition to both HTML and SVG differents languages specifications -- with shared AND specific properties names/features in each cases) But I don't know why I talk to you @Arushi Singhania, as I was wasting my time the last time I tried to help you on this more recent question from you: https://www.sololearn.com/Discuss/1067096/why-this-code-is-not-working ... no answer, while I take time to give you advices to be able to correct your css and improve your code debugging skills, after spending many hours to understand and correct an absolutly not working code of yours (no output at all, no explanation about expected output, totally messy Css part). Anyway, others sololearners doesn't have to be confused by the best answer mark here, and you should remove the green tick on it!
21st Feb 2018, 5:46 AM
visph
visph - avatar
+ 4
<animate attributeName="x" from="0" to="300" dur="3s" fill="freeze" repeatCount="2"/>
12th Sep 2017, 11:05 AM
Konstantinos Paradisiotis
Konstantinos Paradisiotis - avatar
+ 3
Yes
12th Sep 2017, 9:48 AM
Arushi Singhania
Arushi Singhania - avatar
+ 3
Thanks
12th Sep 2017, 12:13 PM
Arushi Singhania
Arushi Singhania - avatar
+ 3
You too helped me a lot. Thanks for that.
12th Sep 2017, 12:31 PM
Arushi Singhania
Arushi Singhania - avatar
+ 3
Anything you want ask me and I will help you. Anything you want😄☺️☺️☺️
12th Sep 2017, 12:32 PM
Konstantinos Paradisiotis
Konstantinos Paradisiotis - avatar
+ 2
I think you mean to animate it write??????
11th Sep 2017, 6:48 PM
Konstantinos Paradisiotis
Konstantinos Paradisiotis - avatar
+ 2
X=the name
12th Sep 2017, 11:05 AM
Konstantinos Paradisiotis
Konstantinos Paradisiotis - avatar
+ 2
From="0" to="300" the path that will do
12th Sep 2017, 11:06 AM
Konstantinos Paradisiotis
Konstantinos Paradisiotis - avatar
+ 2
Dur="3" the time
12th Sep 2017, 11:07 AM
Konstantinos Paradisiotis
Konstantinos Paradisiotis - avatar
+ 2
RepeatCount="2" how many times
12th Sep 2017, 11:08 AM
Konstantinos Paradisiotis
Konstantinos Paradisiotis - avatar
+ 2
Ok and Thanks
12th Sep 2017, 12:41 PM
Arushi Singhania
Arushi Singhania - avatar
+ 1
Can you give me an upvote for my best answer that will help me a lot. Thanks
12th Sep 2017, 12:27 PM
Konstantinos Paradisiotis
Konstantinos Paradisiotis - avatar
+ 1
Thanks you a lot my friend you helped me a lot thanks👍👍👍👍👍👍👍👍👍👍👍👍👍👍
12th Sep 2017, 12:30 PM
Konstantinos Paradisiotis
Konstantinos Paradisiotis - avatar