0
How to add moving text in html?
I mean what is the tag for moving text?
6 Réponses
+ 2
I think this tag might help you:
<marquee>Some Text</marquee>
+ 7
You can use @keyframes of css or javascript
Some examples :
https://code.sololearn.com/W4uhz1S1Yv5s/?ref=app
https://code.sololearn.com/W99HWG1esurA/?ref=app
https://code.sololearn.com/W0gexg84Kswf/?ref=app
https://code.sololearn.com/WKEwglncBQeo/?ref=app
https://code.sololearn.com/Wb7oXb88ws8b/?ref=app
https://code.sololearn.com/WbsUK1U93Qaj/?ref=app
https://code.sololearn.com/WvpPHj7nV7ar/?ref=app
https://code.sololearn.com/WswT1a1cAXPC/?ref=app
+ 2
Go through CSS animate and keyframe attributes.
+ 2
You may find answer in https://www.html.am/html-codes/marquees/html-scrolling-text.cfm
0
<marquee> was never an official html tag... it was invented by microsoft for internet explorer, and others browsers vendors have followed to support pages using it (unfortunally, IE was and is still widely used because bundled with Windows OS).
Html5 specifications deprecate and unadvise to continue to use it in favor of modern possibilities through either Css or Js, and support could disappear at any time ^^
You'll better advised to learn to use animation and transition features of Css ;)
0
<marquee> "Your Text"</marquee>