How to make marquee added text to stop at some defined position on th web page in HTML. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

How to make marquee added text to stop at some defined position on th web page in HTML.

20th Aug 2018, 9:37 AM
Aditya Raj
Aditya Raj - avatar
3 Answers
+ 2
let i clear, what i really want to ask. suppose that i have written a word "HELLO" within the Marquee tag and when i run the program it goes from left to right. But while moving from left to right , i want to stop the word "HELLO" at the center. So how can we do this using HTML. PLEASE HELP ME!!!
20th Aug 2018, 1:50 PM
Aditya Raj
Aditya Raj - avatar
+ 1
Firstly, marquee is deprecated, so its use is not recommended. Secondly, the description of the desired output is unclear to me, as it might be better to say something like, "I currently have this," provide a link to the relevant project from Code Playground, then describe how you want it to look instead. In the meantime, here's a list of marquee's specific attributes for you to experiment with: https://www.tutorialspoint.com/html/html_marquee_tag.htm
20th Aug 2018, 11:42 AM
Janningā­
Janningā­ - avatar
+ 1
Nobody really uses this tag anymore, so I'm not optimistic that you will find someone who knows how this would work. By my reading of the marquee attributes, you can change the direction of the movement, but I don't think you can make it stop in the center. If you just want the effect and you aren't particularly attached to implementing it specifically with the marquee tag, you can experiment with these: https://css-tricks.com/tale-of-animation-performance/ https://css-tricks.com/fly-in-newly-added-content-to-a-page/ Looking forward to seeing your code. :)
20th Aug 2018, 8:06 PM
Janningā­
Janningā­ - avatar