How to move Pictures? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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 👈

28th Jan 2018, 4:21 PM
Sinku🔰
Sinku🔰 - avatar
7 Answers
+ 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
28th Jan 2018, 4:31 PM
Maz
Maz - avatar
+ 10
https://code.sololearn.com/WlgflO9r3Ip6/?ref=app
7th Feb 2018, 9:06 AM
optimist programmer
optimist programmer - avatar
+ 7
use animation, it does the miracles.
7th Feb 2018, 9:03 AM
optimist programmer
optimist programmer - avatar
+ 5
You can use the <marquee> tag to move the image left-to-right or right-to-left😊😉
28th Jan 2018, 4:25 PM
Jaydeep Khatri
Jaydeep Khatri - avatar
+ 4
can you give an example
28th Jan 2018, 4:30 PM
Sinku🔰
Sinku🔰 - avatar
+ 4
use this <IMG SRC="new.jpg" witdth ="400px" height ="400px" ondrgag = "true">
28th Jan 2018, 4:40 PM
Android Boi
Android Boi - avatar
0
i recommend you use the "ONDRAG" attribute and thank me later.
17th Feb 2018, 12:25 AM
BandmanBenny
BandmanBenny - avatar