Can you align a paragraph in html

7th Nov 2022, 9:31 PM
Keyayco - avatar
3 Answers
+ 5
You can use CSS for alignment. Do you want to align the text or the paragraph itself? And yo where do you want to align it?
7th Nov 2022, 10:35 PM
Lisa - avatar
+ 1
I would like to align the text itself. Also are there only 3 options for align(left right and center) or are there more?
8th Nov 2022, 8:21 AM
Keyayco - avatar
+ 1
<html> <head> <style> p { text-align:center; } </style> </head> <body> <p>This is a paragraph</p> </body> </html>
8th Nov 2022, 1:54 PM
Sakshi (Less Active)
Sakshi (Less Active) - avatar