how many types icons are using in <ul> teg?! | Sololearn: Learn to code for FREE!
+ 1

how many types icons are using in <ul> teg?!


14th Jun 2017, 4:22 PM
Aslim Mohamed
Aslim Mohamed - avatar
4 Respostas
+ 11
Not icons, but list style type, and that is a property too, so... you can change them, read something here: Here you can find the complete list: @Martin, type attribute for the <ul> tag is not supported in HTML5, you should not use it. ;)
14th Jun 2017, 4:35 PM
Maz - avatar
+ 9
@Martin, i'm writing about your recommendations, i just thought it is not a good idea suggest to a beginner the use of deprecated attributes. Your code is fine and you made it just to show us uses of the type attribute.
14th Jun 2017, 9:59 PM
Maz - avatar
+ 3
@Maz is right, you need to use list styles, and there are limited build in bullet styles. Or you can customise the bullet using your own icon as list style. li { list-style: none; } li:before { content:url("small-icon.jpg"); margin-right: 10px; }
14th Jun 2017, 4:56 PM
Calvi’≤ - avatar
+ 2
@Martin, this is why I request Sololearn sort the comments by Date (default), comments should be in timeline, It creates confusion if the comments read in Votes order.ūüėÖ
17th Jun 2017, 3:19 AM
Calvi’≤ - avatar