+ 15

About unordered list...[solved]

How can I change the circles from ul to squares , or anything else? Thank you.

2nd Apr 2019, 5:20 PM
🍇 Alex Tușinean 💜
🍇 Alex Tușinean 💜 - avatar
12 Antworten
+ 8
Use the 'type' attribute of the ul tag. https://code.sololearn.com/WYuRZY4cqZ76/?ref=app
2nd Apr 2019, 5:58 PM
Kainatic [Mostly Inactive Now]
Kainatic [Mostly Inactive Now] - avatar
+ 9
David O. Capo Chichi But why? We don't need CSS for a simple thing like that. HTML has an attribute like this for a reason.
3rd Apr 2019, 7:04 AM
Kainatic [Mostly Inactive Now]
Kainatic [Mostly Inactive Now] - avatar
+ 4
Easier to that in css. use the property list-style
3rd Apr 2019, 6:54 AM
David O. Capo Chichi
David O. Capo Chichi - avatar
+ 4
ol { list-style-type:square; }
4th Apr 2019, 11:07 AM
Abduo Saber
Abduo Saber - avatar
+ 3
It just another to do the same thing
3rd Apr 2019, 7:07 AM
David O. Capo Chichi
David O. Capo Chichi - avatar
+ 2
Just use the list-style-type in css
3rd Apr 2019, 9:33 PM
King Solomon
King Solomon - avatar
+ 2
You can add type attribute in html for example use this- <ul type="square"> <li>list1</li> <li>list2</li> </ul> Or can change it by using css as list-style-type:square;
4th Apr 2019, 5:15 PM
Prabhat Kumar Singh
Prabhat Kumar Singh - avatar
+ 1
Помогите пожалуйста с написанием программы в freepascal
3rd Apr 2019, 9:09 PM
Андрей Ким
Андрей Ким - avatar
+ 1
Square important
4th Apr 2019, 11:07 AM
Abduo Saber
Abduo Saber - avatar
+ 1
List-style
10th Apr 2019, 8:41 PM
Neil Buchanan