“marquee” function does not working

Asked By 10 points N/A Posted on -

I have created a scrolling news line using "marquee". When I hover mouse over scrolling text, the text is not stopping.

I want it stop when mouse is placed on scrolling line. What is the way to do it?

Answered By 20 points N/A #114785

“marquee” function does not working


Hey Arlet Joson!

Obviously, if the text does not stop on mouse over the text then there must be some mistake in the code. If you want to stop the text on mouse over, then you should follow this code. This is the right code to stop the scrolling text on mouse over and text will start scrolling again on mouse out.


<marquee behavior="scroll" direction="left" onmouseover="this.stop();" onmouseout="this.start();">Go on… hover over me!</marquee>



I would like to recommend you a free website to learn HTML. You can visit. It's a free site and will be very beneficial for you.


Login/Register to Answer

Related Questions