I have been studying CSS. I know that we can use list-style-type attribute to set list marker. Can we apply that attribute to a div tag?
list-style-type
div
Yes you can. The following causes a div tag to resemble itself like a list item:
div {display:list-item;}
2.1m questions
2.1m answers
60 comments
56.8k users