How To Align List in Centre Using only HTML. | Sololearn: Learn to code for FREE!

0

How To Align List in Centre Using only HTML.

List Align with HTML Please Help

1/25/2022 4:46:44 AM

‎‏‏‎ ‎

9 Answers

New Answer

+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>

+2

<ul align="center">

+1

Pankaj Kumar Maurya https://stackoverflow.com/questions/19443013/how-to-center-an-unordered-list/19443239

+1

Simba Thank you for confirming that it's not possible with HTML 😔

+1

You can use <ul> </ul> for unordinary <ol> </ol> ordinary for list and <li> </li> for list items

+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

+1

0

Jay Matthews when I used Type = circle then circle's are not Aligned why ...? Only <li> Value are aligned.

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..!?????