How to move text from left to right | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to move text from left to right

17th Jul 2016, 7:51 AM
Neh
Neh - avatar
6 Answers
+ 2
use marquee tag in html
1st Mar 2017, 2:15 PM
Mayur Chaudhari
Mayur Chaudhari - avatar
+ 2
Marquee moves from right to left .. I need to know how to move from left to right plz help me out
1st Mar 2017, 2:17 PM
Neh
Neh - avatar
+ 1
<p align="left">Your content </p> <p align="right">Your content </p> <p align="center">Your content </p>
17th Jul 2016, 9:10 PM
Michelle Stallings
Michelle Stallings - avatar
0
use align="right"
17th Jul 2016, 7:58 AM
rupam
rupam - avatar
0
There are two ways to do that, for example, 1. Use inline styling <p style="text-align: right;">Your text here</p> 2. Use CSS for styling element p { text-align: right; }
17th Jul 2016, 1:08 PM
Azwan Abdullah
Azwan Abdullah - avatar
0
marquee is an old way that only does one thing. and i'm not sure of this, but i think it might not work in some major browsers. marquee was added before CSS had animations. now CSS animations give the web developer a lot of control. but doing it in JavaScript works too. CSS will probably be easier to understand for a beginner. and CSS animations kan do a lot now. so u might not even want to bother with JavaScript to move an element on the web page but JavaScript gives u full control like if u want a paragraph (or image) to bounce like a ball, that wud be better to do in JavaScript. but simple one-directional animation is probly best with animated CSS. and CSS animation can repeat too .. i think. it's been a long time since i looked at using that.
2nd May 2018, 5:06 PM
Shawn Kovac
Shawn Kovac - avatar