+ 1
how many types icons are using in <ul> teg?!
<ul>
4 ответов
+ 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. ;)
+ 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.
+ 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;
}
+ 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.😅