0

How To Align List in Centre Using only HTML.

List Align with HTML Please Help

25th Jan 2022, 4:46 AM
Pankaj Kumar Maurya
Pankaj Kumar Maurya - avatar
8 Answers
+ 4
Yes, it's possible to do it using html but you have to use CSS properties. <ul style="text-align:center; list-style-position:inside;"> <li>List 1</li> <li>List 2</li> <li>List 3</li> </ul>
25th Jan 2022, 5:50 AM
Simba
Simba - avatar
+ 1
Simba Thank you for confirming that it's not possible with HTML šŸ˜”
25th Jan 2022, 5:52 AM
Pankaj Kumar Maurya
Pankaj Kumar Maurya - avatar
+ 1
You can use <ul> </ul> for unordinary <ol> </ol> ordinary for list and <li> </li> for list items
26th Jan 2022, 3:13 PM
Ismail Khosrowshiri
Ismail Khosrowshiri - avatar
+ 1
You can use center tag ! in HTML <body> <center> <li> list_no.1 </li> <li> list_no.2 </li> </center> </ body> https://code.sololearn.com/W1Z14Jhuvn69/?ref=app
26th Jan 2022, 9:08 PM
Ajith Prabu A R S
+ 1
Hi
27th Jan 2022, 3:52 AM
vasavi creations
0
Jay Matthews when I used Type = circle then circle's are not Aligned why ...? Only <li> Value are aligned.
25th Jan 2022, 5:22 AM
Pankaj Kumar Maurya
Pankaj Kumar Maurya - avatar
0
慤慤慤 Before posting The questions I see this result but I CAN'T want to use css It's can't possible in HTML only..!?????
25th Jan 2022, 5:42 AM
Pankaj Kumar Maurya
Pankaj Kumar Maurya - avatar