+ 5
How to creat text moving
ok
8 Respuestas
+ 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>
+ 3
You can do it with CSS animations
https://www.sololearn.com/learn/CSS/2253/
https://www.w3schools.com/css/css3_animations.asp
+ 2
<marquee>yogesh </marquee >
+ 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.
+ 2
thanks for all
+ 1
you can use marquee tag
0
You can use.
<marquee>text</marquee>