New course! Every coder should learn Generative AI!
Try a free lesson0
How to align the text of the paragraph to right in HTML
3 Answers
+ 3
<p style="text-align: right;">I'm right!</p>
+ 2
<p style="text-align:right">some text</p>
+ 2
using css
<p>test</p>
p{
text-align: right;
}
or
p{
float:right;
}