+ 1

Why is the marquee tag deprecated? (Not supported in HTML5)

One of my favourite tag when I learnt web design was the marquee tag with "onMouseOver and onMouseOut" properties Viz: <marquee behavior="alternate" onMouseOver="this.stop()" onMouseOut="this.start()" scrollamount="30"> Catch the moving text :) </marquee>. Since it's now deprecated, how can I achieve same using jQuery ?

16th Mar 2017, 6:25 AM
Victor Ikechukwu Agughasi
Victor Ikechukwu Agughasi - avatar
2 ответов
+ 2
You can use CSS3 animations. No need to JavaScript (if you want a simple marquee). https://code.sololearn.com/WnOZv4D6WOkQ
31st May 2017, 11:29 AM
$machitgarha
$machitgarha - avatar
0
marquee always was catalogued as a bad practice. created for get atention at the same time that <blink> in the competence betwen microsoft and netscape. but never was aproved by the w3c
17th Mar 2017, 2:21 PM
Oscar Muñoz
Oscar Muñoz - avatar