+ 1

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

<ul>

14th Jun 2017, 4:22 PM
Aslim Mohamed
Aslim Mohamed - avatar
7 Réponses
+ 11
Not icons, but list style type, and that is a property too, so... you can change them, read something here: https://www.w3schools.com/cssref/pr_list-style-type.asp Here you can find the complete list: https://developer.mozilla.org/en-US/docs/Web/CSS/list-style-type?v=control @Martin, type attribute for the <ul> tag is not supported in HTML5, you should not use it. ;)
14th Jun 2017, 4:35 PM
Maz
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
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ղ
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ղ
Calviղ - avatar