0

How to align the text of the paragraph to right in HTML

11th Jun 2018, 3:12 PM
PRAKHAR PRATYUSH
3 Answers
+ 3
<p style="text-align: right;">I'm right!</p>
11th Jun 2018, 3:19 PM
777
777 - avatar
+ 2
<p style="text-align:right">some text</p>
11th Jun 2018, 3:17 PM
Venkat
Venkat - avatar
+ 2
using css <p>test</p> p{ text-align: right; } or p{ float:right; }
11th Jun 2018, 3:25 PM
Sudarshan Rai
Sudarshan Rai - avatar