when to use UL or OL in html?

前端 未结 12 2028
陌清茗
陌清茗 2020-12-05 03:58

Seems interchangable?

12条回答
  •  情话喂你
    2020-12-05 04:23

    I think it's a sematic issue, as the numbering/bullet points can be changed by CSS.

    Ordered lists should be things like instructions, or any sequential information.

    Unordered lists should be everything else.

提交回复
热议问题