+ 9
How to move Pictures?
In html, how can I insert any image and make it move. (Left to right) Give a upvote👆 to my question 👈
7 Antworten
+ 33
I'm not agree with @Jaydeep, NEVER (please, never) use the <marquee> tag, it's deprecated and it is one of the worst things ever invented by humans (but this last sentence is just my personal opinion)
Also, i hope you don't want to make animated images around the browser window in a real website, it can be a big deal in terms of accessibility and UX.
This is just one of the many ways i would do that, not just HTML though: https://code.sololearn.com/W14boT4f1XIt/?ref=app
+ 10
https://code.sololearn.com/WlgflO9r3Ip6/?ref=app
+ 7
use animation, it does the miracles.
+ 5
You can use the <marquee> tag to move the image left-to-right or right-to-left😊😉
+ 4
can you give an example
+ 4
use this <IMG SRC="new.jpg" witdth ="400px" height ="400px" ondrgag = "true">
0
i recommend you use the "ONDRAG" attribute and thank me later.