I need an unordered list without any bullets

后端 未结 14 1252
清酒与你
清酒与你 2020-11-22 07:16

I have created an unordered list. I feel the bullets in the unordered list are bothersome, so I want to remove them.

Is it possible to have a list without bullets?<

14条回答
  •  长发绾君心
    2020-11-22 08:05

    If you wanted to accomplish this with pure HTML alone, this solution will work across all major browsers:

    Description Lists

    Simply using the following HTML:

    List Item 1
    Sub-Item 1.1
    List Item 2
    Sub-Item 2.1
    Sub-Item 2.2
    Sub-Item 2.3
    List Item 3
    Sub-Item 3.1

    Which will produce a list similar to the following:

    List Item 1
         Sub-Item 1.1
    List Item 2
         Sub-Item 2.1
         Sub-Item 2.2
         Sub-Item 2.3
    List Item 3
         Sub-Item 3.1
    

    Example here: https://jsfiddle.net/zumcmvma/2/

    Reference here: https://www.w3schools.com/tags/tag_dl.asp

提交回复
热议问题