How to semantically add heading to a list

后端 未结 8 1931
借酒劲吻你
借酒劲吻你 2020-12-04 10:23

This has been bothering me for a while, and I\'m wondering if there\'s any consensus on how to do this properly. When I\'m using an HTML list, how do I semantically include

8条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-04 11:21

    I put the heading inside the ul. There's no rule that says UL must contain only LI elements.

提交回复
热议问题