Proper way to make HTML nested list?

前端 未结 7 1416
执念已碎
执念已碎 2020-11-22 04:05

The W3 docs have a nested list example prefixed by DEPRECATED EXAMPLE:, but they never corrected it with a non-deprecated example, nor explained exactly what is

7条回答
  •  醉梦人生
    2020-11-22 04:41

    I prefer option two because it clearly shows the list item as the possessor of that nested list. I would always lean towards semantically sound HTML.

提交回复
热议问题