How to creat text moving | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5

How to creat text moving

ok

16th Jun 2018, 5:53 PM
Yogesh Sambharam
Yogesh Sambharam - avatar
8 Answers
16th Jun 2018, 6:11 PM
Marat Khudayberdin
Marat Khudayberdin - avatar
+ 3
✔with pure html ➡<marquee>moving text </marquee> but always use Css instead of <marquee>❎ <p>hello</p> <style> p{ animation:test 1s linear infinite ; } @keyframes test{ from{ margin-left:0px; } to{ margin-left:800px; } } </style>
16th Jun 2018, 6:00 PM
Sudarshan Rai
Sudarshan Rai - avatar
16th Jun 2018, 6:10 PM
Tim Thuma
Tim Thuma - avatar
+ 2
<marquee>yogesh </marquee >
16th Jun 2018, 6:12 PM
Dlite
Dlite - avatar
+ 2
To all those suggesting marquee for this, I would rather recommend to use JS or CSS. It is deprecated as a part of previous HTML versions and is not even rendered in latest browser versions following HTML5. It is considered obsolete since 2014 and even W3C and MDN Specifications recommend to not to use it. This topic is continued here: https://stackoverflow.com/questions/31951282/why-is-marquee-deprecated-and-what-is-the-best-alternative So you can use JS or CSS for the same results but not marquee.
17th Jun 2018, 2:47 AM
Abbhinav Bharadwaj
+ 2
thanks for all
17th Jun 2018, 5:57 AM
Yogesh Sambharam
Yogesh Sambharam - avatar
+ 1
you can use marquee tag
16th Jun 2018, 6:28 PM
PRAMOD JANA
PRAMOD JANA - avatar
0
You can use. <marquee>text</marquee>
15th Feb 2019, 6:32 AM
Aminu Muhammed
Aminu Muhammed - avatar