0

How do you allign a paragraph in html5 if you cannot use it with <p> ?

3rd Nov 2018, 4:18 PM
Node.Config
Node.Config - avatar
6 Answers
+ 1
You can put them in a table and set it's border to zero.
3rd Nov 2018, 4:38 PM
Pavan Hansaka
Pavan Hansaka - avatar
+ 1
Using CSS: <p style="text-align:right">
3rd Nov 2018, 4:39 PM
Kishalaya Saha
Kishalaya Saha - avatar
+ 1
It seems to me that Kishalaya Saha you forget to add semi colon at the end of CSS property!!😆😆 Using CSS: <p style="text-align:right;"> I noticed that in another answer also 😂😂😊😊
3rd Nov 2018, 8:10 PM
AL Araf
AL Araf - avatar
+ 1
If there is only one property and value pair, the semicolon is optional. (Same goes for the last pair.)
4th Nov 2018, 4:26 AM
Janning⭐
Janning⭐ - avatar
0
you can of course do it with css but since this is an html only course, i’ll suggest to use <span>. That’s an inline tag and should solve your problem.
11th Nov 2018, 7:34 AM
Ange Loron
Ange Loron - avatar
- 1
Node.Config can you please provide a link to your relevant Code Playground project? I'm not sure I have a precise understanding of your issue. The Code Playground should be relatively easy to find in the website version of SoloLearn, but if you are in the app version, it can be accessed via the curly braces, green circle with plus sign to add a new project, then select the project type. Looking forward.
4th Nov 2018, 4:28 AM
Janning⭐
Janning⭐ - avatar